From 5863008d972995b2b8adabe455024c92adfc2254 Mon Sep 17 00:00:00 2001 From: Alex Dik Date: Thu, 23 Jun 2016 14:40:26 +0200 Subject: [PATCH] Change addRelation annotation of WP resource links interface --- .../api/api-v3/hal-resources/work-package-resource.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/components/api/api-v3/hal-resources/work-package-resource.service.ts b/frontend/app/components/api/api-v3/hal-resources/work-package-resource.service.ts index 4c99af027d..2127c442cc 100644 --- a/frontend/app/components/api/api-v3/hal-resources/work-package-resource.service.ts +++ b/frontend/app/components/api/api-v3/hal-resources/work-package-resource.service.ts @@ -58,7 +58,7 @@ interface WorkPackageResourceLinks extends WorkPackageResourceEmbedded { addAttachment(attachment:HalResource):ng.IPromise; addChild(child:HalResource):ng.IPromise; addComment(comment:HalResource):ng.IPromise; - addRelation(relation:HalResource):ng.IPromise; + addRelation(relation:any):ng.IPromise; addWatcher(watcher:HalResource):ng.IPromise; changeParent(newParent:WorkPackageResource):ng.IPromise; copy():ng.IPromise;