mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 10:44:28 +11:00
Updated README.md
This commit is contained in:
@@ -95,7 +95,7 @@ module.exports = schema;
|
||||
|
||||
```js
|
||||
//there's a different handler object for query, create, update and delete
|
||||
const queryHandler = {
|
||||
const queryHandlers = {
|
||||
Author: (query, graph) => {
|
||||
//TODO: implement this
|
||||
},
|
||||
@@ -104,7 +104,7 @@ const queryHandler = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = queryHandler;
|
||||
module.exports = queryHandlers;
|
||||
```
|
||||
|
||||
Create a matching client-side function pointing to the server.
|
||||
|
||||
Reference in New Issue
Block a user