mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
Ready to publish
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user