This commit is contained in:
syuilo 2018-11-05 11:58:41 +09:00
parent 0d23ce3d45
commit a22ddb1fb9
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -16,7 +16,7 @@ router.get('/v1/custom_emojis', async ctx => ctx.body =
fields: {
_id: false
}
})).map(toMastodonEmojis));
})).map(x => toMastodonEmojis(x)));
router.get('/v1/instance', async ctx => { // TODO: This is a temporary implementation. Consider creating helper methods!
const meta = await Meta.findOne() || {};