enhance: 編集されたノートかどうか分かるように

This commit is contained in:
syuilo 2023-09-28 21:06:14 +09:00
parent c106db89e1
commit 2438c047a7
12 changed files with 34 additions and 2 deletions

View file

@ -75,6 +75,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
await this.notesRepository.update({ id: note.id }, {
updatedAt: new Date(),
cw: ps.cw,
text: ps.text,
});