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 3346b7f commit 9d8e560Copy full SHA for 9d8e560
cds-plugin.js
@@ -3,10 +3,7 @@ const {
3
getAnnotatedParamsOfAction
4
} = require('./lib/annotation-helper');
5
6
-const {print, populateQueueValueHelp} = require('./lib/printUtil');
7
-
8
const cds = require('@sap/cds');
9
-let queueValueHelpHandlerRegistered = false;
10
11
cds.once("served", async () => {
12
// Iterate over all services
@@ -18,9 +15,7 @@ cds.once("served", async () => {
18
15
const printer = await cds.connect.to("print");
19
16
20
17
srv.after('READ', entity, async (_, req) => {
21
- // TODO: make sure the format of all services are the same
22
const q = await printer.getQueues();
23
24
q.forEach((item, index) => {
25
req.results[index] = { ID: item.ID };
26
});
0 commit comments