1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-01 00:08:24 +09:00
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() || {};