change syncSpace input parameters to fix the test

This commit is contained in:
Cadence Ember 2023-09-20 16:37:24 +12:00
parent cd195f92e0
commit 40922ff479
4 changed files with 23 additions and 19 deletions

View file

@ -140,7 +140,7 @@ module.exports = {
async onGuildUpdate(client, guild) {
const spaceID = select("guild_space", "space_id", "WHERE guild_id = ?").pluck().get(guild.id)
if (!spaceID) return
await createSpace.syncSpace(guild.id)
await createSpace.syncSpace(guild)
},
/**