Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Acidiney Dias committed Feb 6, 2024
1 parent 5d492fa commit a92f8b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Example:
```typescript
import app from '@adonisjs/core/services/app'
import bull from '@acidiney/bull-queue/services/main'
import { RegisterStripeCustomer, RegisterStripeCustomerPayload } from '#app/jobs/register_stripe_customer.js'
import RegisterStripeCustomer, { RegisterStripeCustomerPayload } from '#app/jobs/register_stripe_customer.js'

await app.booted(async () => {
bull.dispatch(
Expand Down Expand Up @@ -128,7 +128,7 @@ In case you want to start a custom queue, do not forget to name it when you `dis
```ts
import app from '@adonisjs/core/services/app'
import bull from '@acidiney/bull-queue/services/main'
import { RegisterStripeCustomer, RegisterStripeCustomerPayload } from '#app/jobs/register_stripe_customer.js'
import RegisterStripeCustomer, { RegisterStripeCustomerPayload } from '#app/jobs/register_stripe_customer.js'

await app.booted(async () => {
bull.dispatch(
Expand Down

0 comments on commit a92f8b1

Please sign in to comment.