Fixed the output

This commit is contained in:
2023-06-03 22:52:55 +10:00
parent 71c201cae5
commit 3c7dd33232
2 changed files with 12 additions and 5 deletions
+1 -4
View File
@@ -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);