Skip to content

Commit

Permalink
Remove wiki link in 400 message
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Oct 27, 2023
1 parent a7be88c commit fd19449
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mod/workspace/_workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ module.exports = async (req, res) => {
// The keys object must own a user provided lookup key
if (!Object.hasOwn(keys, req.params.key)) {

return res.send(`
Failed to evaluate 'key' param.<br><br>
<a href="https://github.com/GEOLYTIX/xyz/wiki/XYZ---API#workspacekey">Workspace API</a>`)
return res.status(400).send(`Failed to evaluate '${req.params.key}' param.`)
}

return keys[req.params.key](req, res)
Expand Down

0 comments on commit fd19449

Please sign in to comment.