mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 16:38:19 +01:00
fix(api): 🐛 Fix issues with quotes not being serialized to API properly
This commit is contained in:
parent
b37921d0a3
commit
a45a4b3652
|
|
@ -502,7 +502,8 @@ export class Note {
|
|||
visibility: data.visibility as APIStatus["visibility"],
|
||||
url: data.uri || this.getMastoURI(),
|
||||
bookmarked: false,
|
||||
quote: !!data.quotingId,
|
||||
// Set to null because this breaks Megalodon
|
||||
quote: false,
|
||||
// @ts-expect-error Pleroma extension
|
||||
quote_id: data.quotingId || undefined,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue