This commit is contained in:
parent
0d23ce3d45
commit
a22ddb1fb9
|
@ -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 New Issue