Skip to content

Commit

Permalink
docs: update async.md (#54)
Browse files Browse the repository at this point in the history
Fix a small typo
  • Loading branch information
jirihofman authored Apr 6, 2024
1 parent 166c3f6 commit d1a3cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/examples/async.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// server/cron/job.ts
import { defineCronHandler } from '#nuxt/cron'

export default defineCronHandler('houdrly', async () => {
export default defineCronHandler('hourly', async () => {
const data = $fetch('https://jsonplaceholder.typicode.com/todos/1')

console.log(data)
Expand Down

0 comments on commit d1a3cb4

Please sign in to comment.