Skip to content

Commit

Permalink
fix: assign permset to new user
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Jan 28, 2021
1 parent 021a3f4 commit 2fde9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/force/user/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class UserCreateCommand extends SfdxCommand {
? fields.permsets
: fields.permsets.trim().split(',');

await this.user.assignPermissionSets(fields.id, permsetArray);
await this.user.assignPermissionSets(this.authInfo.getFields().userId, permsetArray);
this.successes.push({
name: 'Permission Set Assignment',
value: permsetArray.join(','),
Expand Down

0 comments on commit 2fde9ba

Please sign in to comment.