Skip to content

Commit 432cdbe

Browse files
refactor(Client): Remove with_expiration query parameter (#10800)
refactor(Client): remove `with_expiration` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent c48cc74 commit 432cdbe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/discord.js/src/client/Client.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,6 @@ class Client extends BaseClient {
441441
const code = resolveInviteCode(invite);
442442
const query = makeURLSearchParams({
443443
with_counts: true,
444-
with_expiration: true,
445444
guild_scheduled_event_id: options?.guildScheduledEventId,
446445
});
447446
const data = await this.rest.get(Routes.invite(code), { query });

0 commit comments

Comments
 (0)