Skip to content

Commit

Permalink
docs: fix syntax error in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemaker1 committed Sep 19, 2023
1 parent 857480b commit 6c2b2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import { rateLimit } from 'express-rate-limit'
```ts
import { getRateLimit } from 'ratelimit-header-parser'

const response = await fetch(https://api.github.com/orgs/express-rate-limit)
const response = await fetch('https://api.github.com/orgs/express-rate-limit')
console.log('github ratelimit:', getRateLimit(response))

// > github ratelimit: { limit: 60, used: 1, remaining: 59, reset: 2023-08-25T04:16:48.000Z }
Expand Down

0 comments on commit 6c2b2d0

Please sign in to comment.