fix: cmds params

This commit is contained in:
GyDi 2022-11-18 18:26:55 +08:00
parent 3a37075e71
commit d759f48ee8
No known key found for this signature in database
GPG Key ID: 9C3AD40F1F99880A

View File

@ -33,7 +33,7 @@ export async function enhanceProfiles() {
} }
export async function patchProfilesConfig(profiles: CmdType.ProfilesConfig) { export async function patchProfilesConfig(profiles: CmdType.ProfilesConfig) {
return invoke<void>("patch_profiles_config"); return invoke<void>("patch_profiles_config", { profiles });
} }
export async function createProfile( export async function createProfile(