Ready to publish

This commit is contained in:
2020-09-19 09:10:53 +10:00
parent 6b7e55c05f
commit 422fff090c
2 changed files with 25 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ const sineQL = require('../index.js');
const sine = sineQL(schema, handler);
//open the end
app.post('/simpleql', async (req, res) => {
app.post('/sineql', async (req, res) => {
const [code, result] = await sine(req.body);
res.status(code).send(result);
});