mirror of
https://github.com/Ratstail91/sineQL.git
synced 2025-11-29 02:34:28 +11:00
I tried, and I failed. Mad props to those who wrote graphQL
This commit is contained in:
@@ -30,7 +30,7 @@ authors = authors.map(a => {
|
||||
return a;
|
||||
});
|
||||
|
||||
//get the book array
|
||||
//get the books array
|
||||
let books = [];
|
||||
|
||||
authors.forEach(a => books = books.concat(a.books));
|
||||
|
||||
Reference in New Issue
Block a user