feature: a very minimal patients feature implemented. it needs lots of improvments though
This commit is contained in:
@@ -31,6 +31,9 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
|
||||
}
|
||||
|
||||
const { passwordHash, ...result } = user;
|
||||
return result;
|
||||
return {
|
||||
...result,
|
||||
organizationId: payload.organizationId,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user