Skip to content

Commit

Permalink
docs: escape special chars
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Apr 15, 2024
1 parent 6cc6e18 commit d94892d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docs/3.recipes/2.drizzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export default eventHandler(async (event) => {

### Update

```ts [server/api/todos/[id].patch.ts]
```ts [server/api/todos/[id\\].patch.ts]
export default eventHandler(async (event) => {
const { id } = getRouterParams(event)
const { completed } = await readBody(event)
Expand All @@ -198,7 +198,7 @@ export default eventHandler(async (event) => {

### Delete

```ts [server/api/todos/[id].delete.ts]
```ts [server/api/todos/[id\\].delete.ts]
export default eventHandler(async (event) => {
const { id } = getRouterParams(event)

Expand Down

0 comments on commit d94892d

Please sign in to comment.