projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
init and save form, modify store
[arvados-workbench2.git]
/
src
/
common
/
api
/
common-resource-service.ts
diff --git
a/src/common/api/common-resource-service.ts
b/src/common/api/common-resource-service.ts
index 3956fb7390983824a402456abc2144850b85cda2..8ad8fe916ee48e7ef7cf373c105530a224b1c1a2 100644
(file)
--- a/
src/common/api/common-resource-service.ts
+++ b/
src/common/api/common-resource-service.ts
@@
-100,8
+100,11
@@
export class CommonResourceService<T extends Resource> {
}));
}
- update(uuid: string) {
- throw new Error("Not implemented");
+ update(uuid: string, data: any) {
+ return CommonResourceService.defaultResponse(
+ this.serverApi
+ .put<T>(this.resourceType + uuid, data));
+
}
}