We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72c2fd commit 5c0231dCopy full SHA for 5c0231d
1 file changed
app/vue/app.js
@@ -48,7 +48,7 @@ const bookshop = new Vue({
48
bookshop.fetchReviews(v && "?$search=" + v),
49
50
async fetchBooks(etc = "") {
51
- const { data } = await GET(`/Books?$expand=author,genre,currency${etc}`);
+ const { data } = await GET(`/Books?$expand=author,genre($select=ID,name),currency${etc}`);
52
bookshop.books = data.value;
53
},
54
0 commit comments