mirror of
https://github.com/Ratstail91/sineql-demo.git
synced 2026-05-05 23:30:11 +10:00
Fixed the output
This commit is contained in:
@@ -49,10 +49,7 @@ const queryAuthor = async (query, typeGraph) => {
|
||||
|
||||
try {
|
||||
//search the database
|
||||
return await Author.findAll({
|
||||
...authorFields,
|
||||
raw: true,
|
||||
});
|
||||
return await Author.findAll(authorFields);
|
||||
}
|
||||
catch(e) {
|
||||
console.log(e);
|
||||
|
||||
Reference in New Issue
Block a user