examples: fix inngest example for 3.x sdk (#57712)

Co-authored-by: Lee Robinson <me@leerob.io>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Joel Hooks 2023-10-29 09:38:21 -07:00 committed by GitHub
parent c88e089ade
commit 13d61529dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
"start": "next start"
},
"dependencies": {
"inngest": "^3.4.1",
"inngest": "latest",
"next": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"

View file

@ -1,4 +1,4 @@
import { Inngest } from 'inngest'
// Create a client to send and receive events
export const inngest = new Inngest({ name: 'Basic Inngest Application' })
export const inngest = new Inngest({ id: 'Basic Inngest Application' })