mirror of
https://github.com/Ratstail91/sineql-demo.git
synced 2026-05-07 08:00:12 +10:00
Updated the dependencies, adjusted book handler code
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ const sineQL = require('sineql');
|
||||
const schema = require('./schema.js');
|
||||
const typeHandlers = require('./type-handlers');
|
||||
|
||||
//omit 'createHandlers', 'updateHandlers' or 'deleteHandlers' to disable those methods
|
||||
//omit 'queryHandlers', 'createHandlers', 'updateHandlers' or 'deleteHandlers' to disable those methods
|
||||
const sine = sineQL(schema, typeHandlers, { debug: true });
|
||||
|
||||
//open the endpoint
|
||||
|
||||
Reference in New Issue
Block a user