forked from pothtonswer/discordmuffin
Correct header in rate limit test
This commit is contained in:
parent
bd34c3c66d
commit
0f0aaad011
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ func TestRatelimitGlobal(t *testing.T) {
|
|||
|
||||
headers.Set("X-RateLimit-Global", "1")
|
||||
// Reset for approx 1 seconds from now
|
||||
headers.Set("Retry-After", "1000")
|
||||
headers.Set("X-RateLimit-Reset-After", "1")
|
||||
|
||||
err := bucket.Release(headers)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue