Skip to content

Commit fc9f3bb

Browse files
committed
fix(BotsOnDiscord): fix posting
1 parent 2e9e388 commit fc9f3bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dbots/service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,9 +272,9 @@ def _post(
272272
) -> HTTPResponse:
273273
return http_client.request(
274274
method='POST',
275-
path=f'{BotsOnDiscord.BASE_URL}/bots/{bot_id}/stats',
275+
path=f'{BotsOnDiscord.BASE_URL}/bots/{bot_id}/guilds',
276276
headers={'Authorization': token},
277-
json={'server_count': server_count}
277+
json={'guildCount': server_count}
278278
)
279279

280280
def check_review(self, bot_id: str, user_id: str) -> HTTPResponse:

0 commit comments

Comments
 (0)