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,