Skip to content

Commit

Permalink
fix: axios import statement in API setup script example (checkly#1222)
Browse files Browse the repository at this point in the history
  • Loading branch information
guolau authored Feb 19, 2025
1 parent 73ee3d0 commit 29cb719
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/api-checks/setup-script-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Here are some examples on how to address common authentication use cases with se
{{< tabs "fetch token" >}}
{{< tab "TypeScript" >}}
```ts
import { axios } from 'axios'
import axios from 'axios'

// use 'await' on an axios HTTP get to fetch a token from a location
const { data } = await axios.get('https://example.com/api/token')
Expand Down

0 comments on commit 29cb719

Please sign in to comment.