Skip to content

A self-hosted media server and file management system

fix: queries allow retries and spam error notifications

aminnausin7e0103c4e066
diff --git a/resources/js/service/queries.ts b/resources/js/service/queries.ts
index 2a5be523..6b63029e 100644
--- a/resources/js/service/queries.ts
+++ b/resources/js/service/queries.ts
@@ -60,6 +60,7 @@ export const useGetCategories = () => {
const { data: response } = await getCategories();
return response;
},
+ retry: false,
});
};
@@ -71,6 +72,7 @@ export const useGetLibraryFolders = (id: Ref<number, number>) => {
const { data: response } = await getFolders(id.value);
return response;
},
+ retry: false,
});
};
@@ -81,6 +83,7 @@ export const useGetUsers = () => {
const { data: response } = await getUsers();
return response;
},
+ retry: false,
});
};