chore: updates

This commit is contained in:
Tristan Yang
2023-07-03 12:07:22 +08:00
parent d2247b2fdd
commit 09f87358db
5 changed files with 15 additions and 9 deletions
+1 -1
View File
@@ -271,7 +271,7 @@ export const serverApi = createApi({
query: (data) => ({
url: "admin/system/organization",
method:
compareVersion(localStorage.getItem(KEY_SERVER_VERSION) ?? "", "0.3.7") > 0
compareVersion(localStorage.getItem(KEY_SERVER_VERSION) ?? "", "0.3.8") > 0
? "PUT"
: "POST",
body: data