Skip to content

Commit

Permalink
Merge branch 'main' into N21-1793-cypress-ctl-refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns authored Jun 12, 2024
2 parents 9ef5004 + e1417ed commit 489f1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/authentication/strategies/TSPStrategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class TSPStrategy extends AuthenticationBaseStrategy {

// find account and generate JWT payload
const account = await app.service('nest-account-service').findByUserId(user._id.toString());
account._id = new ObjectId(account.id);
account._id = account.id;
const { entity } = this.configuration;
return {
authentication: { strategy: this.name },
Expand Down

0 comments on commit 489f1b9

Please sign in to comment.