Skip to content

Commit

Permalink
Update fetch URL with query param in auth docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rocktimsaikia committed Aug 31, 2024
1 parent 4dd03dd commit ada7c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/pages/docs/auth.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Some of the endpoints are protected and require a secret API key, which you can
Here is how to authenticate using a secret API key:

```js
const response = fetch(`${BASE_URL}/quotes/random/1`, {
const response = fetch(`${BASE_URL}/quotes/random?anime=ReLIFE`, {
headers: {
'x-api-key': 'YOUR_API_KEY',
},
Expand Down

0 comments on commit ada7c9b

Please sign in to comment.