mirror of
https://github.com/immich-app/immich.git
synced 2025-11-13 04:02:35 +09:00
refactor(server): use date type for entities (#2602)
This commit is contained in:
@@ -22,9 +22,7 @@ class User {
|
||||
|
||||
User.fromDto(UserResponseDto dto)
|
||||
: id = dto.id,
|
||||
updatedAt = dto.updatedAt != null
|
||||
? DateTime.parse(dto.updatedAt!).toUtc()
|
||||
: DateTime.now().toUtc(),
|
||||
updatedAt = dto.updatedAt,
|
||||
email = dto.email,
|
||||
firstName = dto.firstName,
|
||||
lastName = dto.lastName,
|
||||
|
||||
Reference in New Issue
Block a user