api_examples: Fix failing invitation links test.

This system is too fragile with hardcoded IDs; we should be asserting
that the preparatory requests succeeded to make these easier to debug.
This commit is contained in:
Tim Abbott 2024-05-15 14:51:30 -07:00
parent f54605e290
commit 1d52d08803
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ def revoke_reusable_invitation_link(client: Client) -> None:
request = {
"invite_expires_in_minutes": 14400, # 10 days
"invite_as": 400,
"stream_ids": [1, 8, 9],
"stream_ids": [1],
}
result = client.call_endpoint(url="/invites/multiuse", method="POST", request=request)