diff options
author | 2020-01-13 15:43:34 +0000 | |
---|---|---|
committer | 2020-01-13 15:43:34 +0000 | |
commit | 0ec93f4eb42cd0d1b703d01bd06d6b6d8342fe08 (patch) | |
tree | e845efae9ce9eed5464b6f5ff5b8b127e3228861 /cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts | |
parent | d57c3727ee2d02e2b2f4c899647d4d9de7e72b43 (diff) | |
parent | c133b83cb2cbf0b3c7a63aad105a56060db2a6df (diff) |
Merge "creating meta data creation component(first tab)"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts index ca4acd36b..2332d8e53 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-api.service.ts @@ -44,8 +44,8 @@ export class PackagesApiService { }); } - checkBluePrintIfItExists(keyword: string) {// : Observable<any> { - // return this.api.get(BlueprintURLs.get + '/' + keyword); + async checkBluePrintIfItExists(name: string, version: string): Promise<BluePrintPage[]> { + return await this.api.get(BlueprintURLs.getBlueprintByName + '/' + name + '/version/' + version).toPromise(); } getCountOfAllPackages(observable: Observable<number>) { |