mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 23:25:13 +00:00
chore: typecheck
This commit is contained in:
parent
55ea66127a
commit
d15e4a85bb
1 changed files with 2 additions and 0 deletions
|
@ -502,6 +502,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
|||
...parsed.user1,
|
||||
avatar: null,
|
||||
banner: null,
|
||||
background: null,
|
||||
updatedAt: parsed.user1.updatedAt != null ? new Date(parsed.user1.updatedAt) : null,
|
||||
lastActiveDate: parsed.user1.lastActiveDate != null ? new Date(parsed.user1.lastActiveDate) : null,
|
||||
lastFetchedAt: parsed.user1.lastFetchedAt != null ? new Date(parsed.user1.lastFetchedAt) : null,
|
||||
|
@ -511,6 +512,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
|||
...parsed.user2,
|
||||
avatar: null,
|
||||
banner: null,
|
||||
background: null,
|
||||
updatedAt: parsed.user2.updatedAt != null ? new Date(parsed.user2.updatedAt) : null,
|
||||
lastActiveDate: parsed.user2.lastActiveDate != null ? new Date(parsed.user2.lastActiveDate) : null,
|
||||
lastFetchedAt: parsed.user2.lastFetchedAt != null ? new Date(parsed.user2.lastFetchedAt) : null,
|
||||
|
|
Loading…
Reference in a new issue