260322:1648 Correct Coresspondence / Doing RFA / Correct CI
CI Pipeline / build (push) Failing after 12m41s
Build and Deploy / deploy (push) Failing after 2m44s

This commit is contained in:
admin
2026-03-22 16:48:12 +07:00
parent e5deedb42e
commit 11984bfa29
683 changed files with 105251 additions and 29068 deletions
+2 -4
View File
@@ -55,8 +55,7 @@ export function useUpdateRFA() {
const queryClient = useQueryClient();
return useMutation({
mutationFn: ({ uuid, data }: { uuid: string; data: UpdateRfaDto }) =>
rfaService.update(uuid, data),
mutationFn: ({ uuid, data }: { uuid: string; data: UpdateRfaDto }) => rfaService.update(uuid, data),
onSuccess: (_, { uuid }) => {
toast.success('RFA updated successfully');
queryClient.invalidateQueries({ queryKey: rfaKeys.detail(uuid) });
@@ -74,8 +73,7 @@ export function useProcessRFA() {
const queryClient = useQueryClient();
return useMutation({
mutationFn: ({ uuid, data }: { uuid: string; data: WorkflowActionDto }) =>
rfaService.processWorkflow(uuid, data),
mutationFn: ({ uuid, data }: { uuid: string; data: WorkflowActionDto }) => rfaService.processWorkflow(uuid, data),
onSuccess: (_, { uuid }) => {
toast.success('Workflow status updated successfully');
queryClient.invalidateQueries({ queryKey: rfaKeys.detail(uuid) });