fix(discord): typo referencing ctx.server

This commit is contained in:
41666 2021-01-05 18:51:47 -05:00
parent a724ab675a
commit beeb1f7503

View file

@ -150,7 +150,7 @@ class DiscordService extends Service {
q.setGuildid(serverId)
const guild = await this.rpc.getGuild(q, this.sharedHeaders)
this.ctx.servers.ensure(guild.toObject())
this.ctx.server.ensure(guild.toObject())
return guild.toObject()
})
}