We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91c206c commit f8bcd6eCopy full SHA for f8bcd6e
service/src/core/auth/auth.service.ts
@@ -118,7 +118,7 @@ export class AuthService extends AbstractService implements OnModuleInit {
118
}
119
120
public async getSessionData(identity: IdentityType): Promise<any> {
121
- const entity = await this.entityService.findOne({ identityId: identity.entityId }, {
+ const entity = await this.entityService.findOne({ _id: identity.entityId }, {
122
projection: {
123
metadata: 0,
124
},
0 commit comments