Skip to content

Commit

Permalink
fix: unnecessary null check
Browse files Browse the repository at this point in the history
  • Loading branch information
artursudnik committed Jun 21, 2021
1 parent f41f790 commit 47707cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/origin-backend-core/src/LoggedInUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class LoggedInUser implements ILoggedInUser {
constructor(user: IUser) {
this.id = user.id;
this.organizationId = user.organization?.id;
this.did = user?.did;
this.did = user.did;
this.email = user.email;
this.blockchainAccountAddress = user.organization?.blockchainAccountAddress;
this.rights = user.rights;
Expand Down

0 comments on commit 47707cc

Please sign in to comment.