fix (backend): add hasPoll to packed note
This commit is contained in:
parent
30969ad817
commit
c19c439ac1
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ export const NoteRepository = db.getRepository(Note).extend({
|
||||||
uri: note.uri || undefined,
|
uri: note.uri || undefined,
|
||||||
url: note.url || undefined,
|
url: note.url || undefined,
|
||||||
updatedAt: note.updatedAt?.toISOString() || undefined,
|
updatedAt: note.updatedAt?.toISOString() || undefined,
|
||||||
|
hasPoll: note.hasPoll,
|
||||||
poll: note.hasPoll ? populatePoll(note, meId) : undefined,
|
poll: note.hasPoll ? populatePoll(note, meId) : undefined,
|
||||||
...(meId
|
...(meId
|
||||||
? {
|
? {
|
||||||
|
|
Loading…
Reference in a new issue