From dd3b34040b5e47b821174003852f9c099fc4791f Mon Sep 17 00:00:00 2001 From: Willie Ruemmele Date: Mon, 11 Jan 2021 11:02:55 -0700 Subject: [PATCH] fix: properly pass permset names to core --- src/commands/force/user/permset/assign.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/force/user/permset/assign.ts b/src/commands/force/user/permset/assign.ts index a1e01afd..634ae280 100644 --- a/src/commands/force/user/permset/assign.ts +++ b/src/commands/force/user/permset/assign.ts @@ -66,7 +66,7 @@ export class UserPermsetAssignCommand extends SfdxCommand { const fields: UserFields = await user.retrieve(username); try { - await user.assignPermissionSets(fields.id, this.flags.permsetname); + await user.assignPermissionSets(fields.id, [this.flags.permsetname]); this.successes.push({ name: aliasOrUsername, value: this.flags.permsetname,