mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-17 23:14:03 +01:00
Add mutationKey everywhere
This commit is contained in:
@@ -12,6 +12,7 @@ export function useUpdateAnyHttpRequest() {
|
||||
unknown,
|
||||
{ id: string; update: Partial<HttpRequest> | ((r: HttpRequest) => HttpRequest) }
|
||||
>({
|
||||
mutationKey: ['update_any_http_request'],
|
||||
mutationFn: async ({ id, update }) => {
|
||||
const request = await getHttpRequest(id);
|
||||
if (request === null) {
|
||||
|
||||
Reference in New Issue
Block a user