MCPcopy Create free account
hub / github.com/SAP-samples/cloud-cap-samples-java / fetchBooks

Function fetchBooks

app/vue/app.js:50–53  ·  view source on GitHub ↗
(etc = "")

Source from the content-addressed store, hash-verified

48 bookshop.fetchReviews(v && "?$search=" + v),
49
50 async fetchBooks(etc = "") {
51 const { data } = await GET(`/Books?$expand=author,genre($select=ID,name),currency${etc}`);
52 bookshop.books = data.value;
53 },
54
55 async fetchReviews(etc = "") {
56 const { data } = await GET(

Callers

nothing calls this directly

Calls 1

GETFunction · 0.85

Tested by

no test coverage detected