Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jan 24, 2024
1 parent 73824b8 commit d882172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/pack/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const post = withSession(async (req, res, session) => {

const pack = await Pack.create({ ...req.body, author: session.user.email })

console.log(`created pack ${pack.nane}`)
console.log(`created pack ${req.body.nane}`)

res.json(pack)
})
Expand Down

0 comments on commit d882172

Please sign in to comment.