docs: fix code block titles (#5733)

* docs: fix code block titles

* remove console

* fix build error
This commit is contained in:
Shahed Nasser
2023-11-27 16:08:10 +00:00
committed by GitHub
parent de8f748674
commit 547b16ead5
110 changed files with 483 additions and 456 deletions
@@ -39,7 +39,7 @@ A data source is Typeorms connection settings that allows you to connect to y
Heres an example of the implementation of the extended Product repository:
```ts title=src/repositories/product.ts
```ts title="src/repositories/product.ts"
import { Product } from "@medusajs/medusa"
import {
dataSource,
@@ -87,7 +87,7 @@ You can now use your extended repository in other resources such as services or
Heres an example of using it in an API Route:
```ts title=src/api/store/custom/route.ts
```ts title="src/api/store/custom/route.ts"
import type {
MedusaRequest,
MedusaResponse,