Skip to content

Commit

Permalink
🔧 fix for pens
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Aug 23, 2024
1 parent 4ae4779 commit d18cbce
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/controllers/pens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ const update = authedHandler(async ({ event }) => {
cartridgeId: z.number().optional(),
})

event = routing.routeParams(event, { user: 1, id: 3 })

const parsed = schema.safeParse({
id: Number.parseInt(event.context.params?.id as string),
user: Number.parseInt(event.context.params?.user as string),
Expand Down

0 comments on commit d18cbce

Please sign in to comment.