mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 12:57:47 +00:00
* remove prefix from codeowners * remove references from ignore files * Remove prefix from package json and tests * Add run js without prefixes * Rename package folders * Delete auto generated test files * Remove now-node in integration test * Put back deleted vercel json files * Remove eol * Add styfle suggestion to comment in utils/run.js Co-authored-by: Steven <steven@ceriously.com>
8 lines
210 B
JavaScript
8 lines
210 B
JavaScript
module.exports = (req, res) => {
|
|
if (req.body == null) {
|
|
return res.status(400).send({ error: 'no JSON object in the request' });
|
|
}
|
|
|
|
return res.status(200).send(JSON.stringify(req.body, null, 4));
|
|
};
|