Fixed mocking for last test

This commit is contained in:
Uwe Klinger
2021-05-20 09:40:02 +02:00
parent 5b4210bb38
commit 9dfe62c5c7
2 changed files with 40 additions and 11 deletions

View File

@@ -168,7 +168,6 @@ class RemoteHandler {
// REVISIT: How to call service datasource w/o handlers
// REVISIT: const result = await targetService.read(target).columns(req.query.SELECT.columns).where({ [targetKeyFieldName]: entry[keyFieldName] });
// TODO: Seems not to respect filter for targetkeyFieldName
const selectTarget = SELECT(req.query.SELECT.columns)
.from(target)
.where({ [targetKeyFieldName]: entry[keyFieldName] });