refactor(note-metadata): rename date attributes

This is part of an effort to name all date attributes
consistently.

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2022-01-16 21:59:54 +01:00
parent b0e2987987
commit f1feb3bf94
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
4 changed files with 11 additions and 11 deletions

View file

@ -72,7 +72,7 @@ export class NoteMetadataDto {
*/
@IsDate()
@ApiProperty()
updateTime: Date;
updatedAt: Date;
/**
* User that last edited the note
@ -96,7 +96,7 @@ export class NoteMetadataDto {
*/
@IsDate()
@ApiProperty()
createTime: Date;
createdAt: Date;
/**
* List of usernames that edited the note