mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Merge pull request #1179 from hedgedoc/util/replaceNull
This commit is contained in:
commit
0bad4827bf
3 changed files with 5 additions and 5 deletions
|
@ -352,9 +352,9 @@ export class NotesService {
|
|||
// TODO: Convert DB UUID to base64
|
||||
id: note.id,
|
||||
alias: note.alias,
|
||||
title: note.title,
|
||||
title: note.title ?? '',
|
||||
createTime: (await this.getFirstRevision(note)).createdAt,
|
||||
description: note.description,
|
||||
description: note.description ?? '',
|
||||
editedBy: note.authorColors.map(
|
||||
(authorColor) => authorColor.user.userName,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue