chore: loads of lgtm maintainability fixes

This commit is contained in:
Katie Thornhill 2019-11-19 23:22:37 -05:00
parent 0b918d9ffa
commit eb6dce5277
No known key found for this signature in database
GPG key ID: F76EDC6541A99644
13 changed files with 44 additions and 98 deletions

View file

@ -39,7 +39,6 @@ module.exports = (R, $) => {
})
R.get('/api/server/:id/slug', async ctx => {
const { userId } = ctx.session
const { id } = ctx.params
const srv = $.discord.client.guilds.get(id)