Skip to content

Commit 9d8e560

Browse files
committed
remove TODO script
1 parent 3346b7f commit 9d8e560

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cds-plugin.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@ const {
33
getAnnotatedParamsOfAction
44
} = require('./lib/annotation-helper');
55

6-
const {print, populateQueueValueHelp} = require('./lib/printUtil');
7-
86
const cds = require('@sap/cds');
9-
let queueValueHelpHandlerRegistered = false;
107

118
cds.once("served", async () => {
129
// Iterate over all services
@@ -18,9 +15,7 @@ cds.once("served", async () => {
1815
const printer = await cds.connect.to("print");
1916

2017
srv.after('READ', entity, async (_, req) => {
21-
// TODO: make sure the format of all services are the same
2218
const q = await printer.getQueues();
23-
2419
q.forEach((item, index) => {
2520
req.results[index] = { ID: item.ID };
2621
});

0 commit comments

Comments
 (0)