refactor(server): use date type for entities (#2602)
This commit is contained in:
@@ -8,8 +8,8 @@ export class APIKeyCreateResponseDto {
|
||||
export class APIKeyResponseDto {
|
||||
id!: string;
|
||||
name!: string;
|
||||
createdAt!: string;
|
||||
updatedAt!: string;
|
||||
createdAt!: Date;
|
||||
updatedAt!: Date;
|
||||
}
|
||||
|
||||
export function mapKey(entity: APIKeyEntity): APIKeyResponseDto {
|
||||
|
||||
Reference in New Issue
Block a user