Fix graphql and other things

This commit is contained in:
Gregory Schier
2023-03-15 09:06:56 -07:00
parent b599ab9f5b
commit 97db32fdf2
15 changed files with 77 additions and 56 deletions

View File

@@ -12,7 +12,7 @@ export function useCreateRequest({ navigateAfter }: { navigateAfter: boolean })
if (workspace === null) {
throw new Error("Cannot create request when there's no active workspace");
}
return invoke('create_request', { ...patch, workspaceId: workspace?.id });
return invoke('create_request', { ...patch, workspaceId: workspace.id });
},
onSuccess: async (requestId) => {
if (navigateAfter) {