docs: fix code block titles (#5733)
* docs: fix code block titles * remove console * fix build error
This commit is contained in:
@@ -43,7 +43,7 @@ For the example in this tutorial, you can create the file `src/loaders/publish.t
|
||||
|
||||
To create a scheduled job, add the following code in the file you created, which is `src/loaders/publish.ts` in this example:
|
||||
|
||||
```ts title=src/loaders/publish.ts
|
||||
```ts title="src/loaders/publish.ts"
|
||||
import { MedusaContainer } from "@medusajs/medusa"
|
||||
|
||||
const publishJob = async (
|
||||
|
||||
@@ -35,7 +35,7 @@ The scheduled job file exports a default handler function, and the scheduled job
|
||||
|
||||
For example:
|
||||
|
||||
```ts title=src/loaders/publish.ts
|
||||
```ts title="src/loaders/publish.ts"
|
||||
import {
|
||||
type ProductService,
|
||||
type ScheduledJobConfig,
|
||||
|
||||
Reference in New Issue
Block a user