chore: typecheck

This commit is contained in:
Marie 2024-01-22 22:13:10 +01:00
parent 55ea66127a
commit d15e4a85bb
No known key found for this signature in database
GPG key ID: 56569BBE47D2C828

View file

@ -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,