mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-25 22:23:09 +02:00
✌️
This commit is contained in:
parent
0d23ce3d45
commit
a22ddb1fb9
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ router.get('/v1/custom_emojis', async ctx => ctx.body =
|
||||||
fields: {
|
fields: {
|
||||||
_id: false
|
_id: false
|
||||||
}
|
}
|
||||||
})).map(toMastodonEmojis));
|
})).map(x => toMastodonEmojis(x)));
|
||||||
|
|
||||||
router.get('/v1/instance', async ctx => { // TODO: This is a temporary implementation. Consider creating helper methods!
|
router.get('/v1/instance', async ctx => { // TODO: This is a temporary implementation. Consider creating helper methods!
|
||||||
const meta = await Meta.findOne() || {};
|
const meta = await Meta.findOne() || {};
|
||||||
|
|
Loading…
Reference in a new issue