From d759f48ee845380ffd64ca35aff96e78a1dfa360 Mon Sep 17 00:00:00 2001
From: GyDi <zzzgydi@gmail.com>
Date: Fri, 18 Nov 2022 18:26:55 +0800
Subject: [PATCH] fix: cmds params

---
 src/services/cmds.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/services/cmds.ts b/src/services/cmds.ts
index 43faf4b..1344134 100644
--- a/src/services/cmds.ts
+++ b/src/services/cmds.ts
@@ -33,7 +33,7 @@ export async function enhanceProfiles() {
 }
 
 export async function patchProfilesConfig(profiles: CmdType.ProfilesConfig) {
-  return invoke<void>("patch_profiles_config");
+  return invoke<void>("patch_profiles_config", { profiles });
 }
 
 export async function createProfile(
-- 
GitLab