mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 08:36:44 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
f1ee80093a
commit
9d0e839508
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ export function useCreateCronjob() {
|
||||||
if (error) throw error;
|
if (error) throw error;
|
||||||
return normalizeJob(data);
|
return normalizeJob(data);
|
||||||
},
|
},
|
||||||
onSuccess: () => {
|
onSettled: () => {
|
||||||
qc.invalidateQueries({ queryKey: ["cronjobs"] });
|
qc.invalidateQueries({ queryKey: ["cronjobs"] });
|
||||||
qc.invalidateQueries({ queryKey: ["user-jobs-limits"] });
|
qc.invalidateQueries({ queryKey: ["user-jobs-limits"] });
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue