refactor: prevent to updates download automatically

This commit is contained in:
Mauricio Siu
2024-05-26 03:06:31 -06:00
parent 0f025182f1
commit 8a0ffbe754
9 changed files with 112 additions and 21 deletions

View File

@@ -181,7 +181,7 @@ export const settingsRouter = createTRPCRouter({
return true;
}),
checkAndUpdateImage: adminProcedure.query(async () => {
checkAndUpdateImage: adminProcedure.mutation(async () => {
return await pullLatestRelease();
}),
updateServer: adminProcedure.mutation(async () => {