mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 01:45:15 +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,
|
...parsed.user1,
|
||||||
avatar: null,
|
avatar: null,
|
||||||
banner: null,
|
banner: null,
|
||||||
|
background: null,
|
||||||
updatedAt: parsed.user1.updatedAt != null ? new Date(parsed.user1.updatedAt) : null,
|
updatedAt: parsed.user1.updatedAt != null ? new Date(parsed.user1.updatedAt) : null,
|
||||||
lastActiveDate: parsed.user1.lastActiveDate != null ? new Date(parsed.user1.lastActiveDate) : null,
|
lastActiveDate: parsed.user1.lastActiveDate != null ? new Date(parsed.user1.lastActiveDate) : null,
|
||||||
lastFetchedAt: parsed.user1.lastFetchedAt != null ? new Date(parsed.user1.lastFetchedAt) : null,
|
lastFetchedAt: parsed.user1.lastFetchedAt != null ? new Date(parsed.user1.lastFetchedAt) : null,
|
||||||
|
@ -511,6 +512,7 @@ export class ReversiService implements OnApplicationShutdown, OnModuleInit {
|
||||||
...parsed.user2,
|
...parsed.user2,
|
||||||
avatar: null,
|
avatar: null,
|
||||||
banner: null,
|
banner: null,
|
||||||
|
background: null,
|
||||||
updatedAt: parsed.user2.updatedAt != null ? new Date(parsed.user2.updatedAt) : null,
|
updatedAt: parsed.user2.updatedAt != null ? new Date(parsed.user2.updatedAt) : null,
|
||||||
lastActiveDate: parsed.user2.lastActiveDate != null ? new Date(parsed.user2.lastActiveDate) : null,
|
lastActiveDate: parsed.user2.lastActiveDate != null ? new Date(parsed.user2.lastActiveDate) : null,
|
||||||
lastFetchedAt: parsed.user2.lastFetchedAt != null ? new Date(parsed.user2.lastFetchedAt) : null,
|
lastFetchedAt: parsed.user2.lastFetchedAt != null ? new Date(parsed.user2.lastFetchedAt) : null,
|
||||||
|
|
Loading…
Reference in a new issue