690320:2126 UUID agian by Claude Sonnet #02
Build and Deploy / deploy (push) Failing after 4m27s
Build and Deploy / deploy (push) Failing after 4m27s
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
UpdateOrganizationDto,
|
||||
SearchOrganizationDto,
|
||||
} from '@/types/dto/organization/organization.dto';
|
||||
import { Organization } from '@/types/organization';
|
||||
import { AxiosError } from 'axios';
|
||||
import { organizationService } from '@/lib/services/organization.service';
|
||||
import { projectService } from '@/lib/services/project.service';
|
||||
@@ -19,7 +20,7 @@ export const masterDataKeys = {
|
||||
};
|
||||
|
||||
export function useOrganizations(params?: SearchOrganizationDto) {
|
||||
return useQuery({
|
||||
return useQuery<Organization[]>({
|
||||
queryKey: [...masterDataKeys.organizations(), params],
|
||||
queryFn: () => organizationService.getAll(params),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user