From 57d82c9315ff36620be2d72442efbd2ffd351387 Mon Sep 17 00:00:00 2001 From: Qubasa Date: Thu, 30 Jan 2025 17:26:41 +0700 Subject: [PATCH] webview-ui: Fix create_clan js call --- pkgs/webview-ui/app/src/routes/clans/create.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/webview-ui/app/src/routes/clans/create.tsx b/pkgs/webview-ui/app/src/routes/clans/create.tsx index 75872d27f..ff16b292a 100644 --- a/pkgs/webview-ui/app/src/routes/clans/create.tsx +++ b/pkgs/webview-ui/app/src/routes/clans/create.tsx @@ -45,9 +45,9 @@ export const CreateClan = () => { const loading_toast = toast.loading("Creating Clan...."); const r = await callApi("create_clan", { - options: { - directory: target_dir[0], - template, + opts: { + dest: target_dir[0], + template_name: template, initial: { meta, services: {},