From 09c21cd46608a11f47f686c711a1e008c2078160 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sun, 22 Dec 2024 04:23:30 +0000 Subject: [PATCH] fix: api prefix --- hwe/ts/gateway/admin_member.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hwe/ts/gateway/admin_member.ts b/hwe/ts/gateway/admin_member.ts index 9afc2767..343e1212 100644 --- a/hwe/ts/gateway/admin_member.ts +++ b/hwe/ts/gateway/admin_member.ts @@ -8,6 +8,7 @@ import { unwrap_any } from '@util/unwrap_any'; import { convertFormData } from '@util/convertFormData'; import { exportWindow } from '@util/exportWindow'; import '@/gateway/common'; +import { setSammoAPIPrefix } from '@/util/callSammoAPI'; type UserEntry = { userID: string, @@ -299,6 +300,9 @@ $(async function () { }) }); + +setSammoAPIPrefix('..'); + exportWindow(changeSystem, 'changeSystem'); exportWindow(changeUserStatus, 'changeUserStatus'); exportWindow(banEmailAddress, 'banEmailAddress'); \ No newline at end of file