690327:1426 Fixing Refactor ADR-019 Naming convention uuid #17
CI / CD Pipeline / build (push) Failing after 5m3s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
2026-03-27 14:26:52 +07:00
parent 47f12508f4
commit fc61ff2491
2 changed files with 8 additions and 16 deletions
+2 -3
View File
@@ -96,9 +96,8 @@ export function useProjects(isActive: boolean = true) {
return useQuery({
queryKey: ['projects', { isActive }],
queryFn: async () => {
const response = await projectService.getAll({ isActive });
// ADR-019: Handle paginated response { data: Project[], meta: {...} }
return extractArrayData(response);
// ADR-019: projectService.getAll() returns Project[] directly
return await projectService.getAll({ isActive });
},
});
}