Skip to content

Commit c8f6066

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 7e21a94 commit c8f6066

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
@@ -277,7 +277,6 @@ class Client extends BaseClient {
277277
const code = resolveInviteCode(invite);
278278
const query = makeURLSearchParams({
279279
with_counts: true,
280-
with_expiration: true,
281280
guild_scheduled_event_id: options?.guildScheduledEventId,
282281
});
283282
const data = await this.rest.get(Routes.invite(code), { query });

0 commit comments

Comments
 (0)