Skip to content

Commit 1a352d2

Browse files
authored
fix: change parenthesis location in create_guild_from_guild_template to fix wrong content type errors (#1127)
1 parent 21ff691 commit 1a352d2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

interactions/api/http/guild.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ async def create_guild_from_guild_template(
277277
if icon:
278278
payload["icon"] = icon
279279
return await self._req.request(
280-
Route("POST", f"/guilds/templates/{template_code}", json=payload)
280+
Route("POST", f"/guilds/templates/{template_code}"),
281+
json=payload,
281282
)
282283

283284
async def get_guild_templates(self, guild_id: int) -> List[dict]:

0 commit comments

Comments
 (0)