From 846ca6440288172c255e96f87b8eb69836e44429 Mon Sep 17 00:00:00 2001 From: Vaibhav Surve Date: Thu, 20 Nov 2025 16:52:51 +0530 Subject: [PATCH] feat: update project fetching method to use getGlobalProjects for improved data retrieval --- lib/controller/layout/layout_controller.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/layout/layout_controller.dart b/lib/controller/layout/layout_controller.dart index 1ee06ea..f7be536 100644 --- a/lib/controller/layout/layout_controller.dart +++ b/lib/controller/layout/layout_controller.dart @@ -55,7 +55,7 @@ class LayoutController extends GetxController { isLoadingProjects.value = true; try { - final response = await ApiService.getProjects(); + final response = await ApiService.getGlobalProjects(); if (response != null && response.isNotEmpty) { final fetchedProjects = response.map((json) => ProjectModel.fromJson(json)).toList();