mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
fix(api): 🐛 Fix source not being correctly saved when creating notes
This commit is contained in:
parent
294924fc49
commit
441c7714d9
|
|
@ -225,6 +225,8 @@ export default apiRoute((app) =>
|
||||||
replyId: in_reply_to_id ?? undefined,
|
replyId: in_reply_to_id ?? undefined,
|
||||||
quotingId: quote_id ?? undefined,
|
quotingId: quote_id ?? undefined,
|
||||||
applicationId: application?.id,
|
applicationId: application?.id,
|
||||||
|
contentSource: status,
|
||||||
|
contentType: content_type,
|
||||||
});
|
});
|
||||||
|
|
||||||
// Emojis, mentions, and attachments are stored in a different table, so update them there too
|
// Emojis, mentions, and attachments are stored in a different table, so update them there too
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue