Skip to content

Commit

Permalink
Fix quota parsing
Browse files Browse the repository at this point in the history
fixes FlowFuse/flowfuse#4431

Not parsing response to a JSON object
  • Loading branch information
hardillb committed Aug 30, 2024
1 parent 9d81a5a commit 199cf5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forge/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = fp(async function (app, opts, done) {
authorization: `Bearer ${token}`
}
})
return project.body
return JSON.parse(project.body)
}

async function checkAuth (request, reply) {
Expand Down

0 comments on commit 199cf5d

Please sign in to comment.