Fixed birthday gql output
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m35s
All checks were successful
Deploy dev on push / on-push-deploy_sh-edraft (push) Successful in 4m35s
This commit is contained in:
parent
d5b0801f24
commit
2545cdfc7f
@ -56,7 +56,7 @@ class UserQuery(DataQueryWithHistoryABC):
|
|||||||
self.set_field("xp", self.resolve_xp)
|
self.set_field("xp", self.resolve_xp)
|
||||||
self.set_field("messageCount", lambda x, *_: x.message_count)
|
self.set_field("messageCount", lambda x, *_: x.message_count)
|
||||||
self.set_field("reactionCount", lambda x, *_: x.reaction_count)
|
self.set_field("reactionCount", lambda x, *_: x.reaction_count)
|
||||||
self.set_field("birthday", lambda x, *_: x.birthday)
|
self.set_field("birthday", lambda x, *_: None if x.birthday is None else x.birthday.strftime("%d.%m.%Y"))
|
||||||
self.set_field("ontime", self.resolve_ontime)
|
self.set_field("ontime", self.resolve_ontime)
|
||||||
self.set_field("level", self.resolve_level)
|
self.set_field("level", self.resolve_level)
|
||||||
self.add_collection(
|
self.add_collection(
|
||||||
|
Loading…
Reference in New Issue
Block a user