Skip to content

Commit

Permalink
Merge branch 'GEOLYTIX:main' into hover-hovers-label-labels
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-leech authored Oct 23, 2023
2 parents b6d175b + 71191ed commit f7e6cfe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod/fetch.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
module.exports = async (req, res) => {

if (!req.options?.template) {
res.status(400).send();
return;
}

const template = req.options.template

if (typeof template.options.body !== 'string') {
Expand Down

0 comments on commit f7e6cfe

Please sign in to comment.