mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Fix emoji urls being invalid
This commit is contained in:
parent
1fd147d054
commit
f0a30d6b4a
@ -183,8 +183,8 @@ const getContact = async (
|
||||
last_status_at: user.lastActiveDate?.toISOString(),
|
||||
emojis: emojis ? user.emojis.filter(e => e in emojis).map(e => ({
|
||||
shortcode: e,
|
||||
static_url: `${config.url}/files/${emojis[e].publicUrl}`,
|
||||
url: `${config.url}/files/${emojis[e].publicUrl}`,
|
||||
static_url: emojis[e].publicUrl,
|
||||
url: emojis[e].publicUrl,
|
||||
visible_in_picker: true,
|
||||
})) : [],
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user