Update src/handlers/guild.ts

Co-authored-by: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com>
This commit is contained in:
ayntee
2020-11-14 16:33:23 +04:00
committed by GitHub
parent de6696aa83
commit 0efa33d00d

View File

@@ -741,7 +741,7 @@ export async function syncGuildTemplate(guildID: string, templateCode: string) {
const template: GuildTemplate = await RequestManager.put(
`${endpoints.GUILD_TEMPLATES(guildID)}/${templateCode}`,
) as any;
) as GuildTemplate;
return structures.createTemplate(template);
}