Skip to content

Commit

Permalink
Merge pull request #16 from salesforcecli/wr/userPermsetAssign
Browse files Browse the repository at this point in the history
fix: properly pass permset names to core
  • Loading branch information
WillieRuemmele authored Jan 11, 2021
2 parents ec43b20 + dd3b340 commit b8c8dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/force/user/permset/assign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b8c8dd7

Please sign in to comment.