Skip to content

Commit

Permalink
release logging
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Jan 24, 2024
1 parent 7e7f5bf commit d041b63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pages/api/pack/[id]/release/[version].ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default withSession(async (req, res, session) => {
const id = req.query.id as string
await authorizedPack(session, id)

console.log(`creating release for pack with ID '${id}'`)

const { installedAddons, ...release } = req.body
const mods = await getMods({ installedAddons })

Expand All @@ -35,7 +37,7 @@ export default withSession(async (req, res, session) => {
pack: id,
})

console.log('Received data for', version)
console.log('successfully created release with version', version)

return res.status(204).end()
})

0 comments on commit d041b63

Please sign in to comment.