diff options
author | KAPIL SINGAL <ks220y@att.com> | 2020-08-12 14:57:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-08-12 14:57:21 +0000 |
commit | 057a0db19bacdd7d963cad39be1163139e7128e2 (patch) | |
tree | 09174e29404680aaf07784695f151224bdeedcda /sdnr/wt/odlux/apps/mediatorApp/src/services | |
parent | 55d8703366e8e02d97e71b2e1350cb746cee8ff6 (diff) | |
parent | 3d02271058d2e59a71e49afdd866462f7b6ab1c6 (diff) |
Merge "Switch odlux from Biermann-RestConf to RFC8040 interface"
Diffstat (limited to 'sdnr/wt/odlux/apps/mediatorApp/src/services')
-rw-r--r-- | sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts b/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts index aee086689..ede681776 100644 --- a/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts +++ b/sdnr/wt/odlux/apps/mediatorApp/src/services/mediatorService.ts @@ -83,8 +83,8 @@ class MediatorService { const result = await requestRest<Result<MediatorServer>>(path, { method: "POST", body: JSON.stringify({ input: data }) }); - if (result && result.output.data[0]) { - const firstResult = result.output.data[0]; + if (result && result["data-provider:output"].data[0]) { + const firstResult = result["data-provider:output"].data[0]; return { id: firstResult.id, |