This commit is contained in:
syuilo 2018-11-05 11:58:41 +09:00
parent a838c58f69
commit ce57bb6675

View file

@ -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() || {};