mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 03:53:35 +00:00
Improve ad
This commit is contained in:
@@ -509,6 +509,7 @@ export default define(meta, async (ps, me) => {
|
||||
maxNoteTextLength: Math.min(instance.maxNoteTextLength, DB_MAX_NOTE_TEXT_LENGTH),
|
||||
emojis: await Emojis.packMany(emojis),
|
||||
ads: ads.map(ad => ({
|
||||
id: ad.id,
|
||||
url: ad.url,
|
||||
place: ad.place,
|
||||
ratio: ad.ratio,
|
||||
|
||||
Reference in New Issue
Block a user