mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
pass context object to hasElopage query
This commit is contained in:
parent
affd8a6859
commit
f3948b39be
@ -250,7 +250,7 @@ export class UserResolver {
|
||||
user.language = dbUser.language
|
||||
|
||||
// Elopage Status & Stored PublisherId
|
||||
user.hasElopage = await this.hasElopage({ pubKey: dbUser.pubKey.toString('hex') })
|
||||
user.hasElopage = await this.hasElopage(context)
|
||||
if (!user.hasElopage && publisherId) {
|
||||
user.publisherId = publisherId
|
||||
// TODO: Check if we can use updateUserInfos
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user