kopia lustrzana https://github.com/cloudflare/wildebeest
quickfix: stub some notification values
rodzic
0d2c8b4504
commit
8681d09d4f
|
@ -257,14 +257,16 @@ export async function getNotifications(db: D1Database, actor: Actor, domain: str
|
|||
url: new URL('/statuses/' + result.mastodon_id, 'https://' + domain),
|
||||
created_at: new Date(result.cdate).toISOString(),
|
||||
|
||||
account,
|
||||
|
||||
// TODO: stub values
|
||||
emojis: [],
|
||||
media_attachments: [],
|
||||
tags: [],
|
||||
mentions: [],
|
||||
|
||||
account,
|
||||
|
||||
// TODO: stub values
|
||||
replies_count: 0,
|
||||
reblogs_count: 0,
|
||||
favourites_count: 0,
|
||||
visibility: 'public',
|
||||
spoiler_text: '',
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue