Compare commits

..

2 Commits

Author SHA1 Message Date
2545cdfc7f Fixed birthday gql output 2023-10-23 17:36:24 +02:00
d5b0801f24 Fixed config loading query 2023-10-23 17:24:31 +02:00
3 changed files with 3 additions and 2 deletions
bot/src/bot_graphql/queries
web/src/app/models/graphql

View File

@ -56,7 +56,7 @@ class UserQuery(DataQueryWithHistoryABC):
self.set_field("xp", self.resolve_xp)
self.set_field("messageCount", lambda x, *_: x.message_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("level", self.resolve_level)
self.add_collection(

View File

@ -532,6 +532,7 @@ export class Queries {
loginMessageChannelId
defaultRoleId
shortRoleNameOnlySetHighestRole
gameOfferNotificationChatId
featureFlags {
key
value