fix(api): 🐛 Fix source not being correctly saved when creating notes

This commit is contained in:
Jesse Wierzbinski 2025-05-01 15:52:00 +02:00
parent 294924fc49
commit 441c7714d9
No known key found for this signature in database

View file

@ -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