Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get Invite endpoint does not respect with_expiration=0 #7395

Open
GnomedDev opened this issue Feb 16, 2025 · 0 comments
Open

Get Invite endpoint does not respect with_expiration=0 #7395

GnomedDev opened this issue Feb 16, 2025 · 0 comments
Labels
bug synced Synced to internal tracker

Comments

@GnomedDev
Copy link

Description

Using the Get Invite endpoint will always return the expires_at, contrary to the with_expiration query string and documentation.

Steps to Reproduce

  1. curl "https://discord.com/api/v10/invites/m4q4GGss?with_expiration=0" within the next 7 days.
  2. Check the expires_at field.

Expected Behavior

The expires_at field is null or missing.

Current Behavior

The expires_at field is always returned.

Screenshots/Videos

No response

Client and System Information

curl 8.12.1 on Arch Linux

@GnomedDev GnomedDev added the bug label Feb 16, 2025
@appellation appellation added the synced Synced to internal tracker label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug synced Synced to internal tracker
Projects
None yet
Development

No branches or pull requests

2 participants