mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-08 06:01:22 +00:00
GUACAMOLE-926: Allow updating objects via directory patch.
This commit is contained in:
@@ -59,7 +59,7 @@ angular.module('rest').factory('DirectoryPatch', [function defineDirectoryPatch(
|
||||
this.path = template.path || '/';
|
||||
|
||||
/**
|
||||
* The object being added, or undefined if deleting.
|
||||
* The object being added/replaced, or undefined if deleting.
|
||||
*
|
||||
* @type {DirectoryObject}
|
||||
*/
|
||||
@@ -77,6 +77,11 @@ angular.module('rest').factory('DirectoryPatch', [function defineDirectoryPatch(
|
||||
*/
|
||||
ADD : 'add',
|
||||
|
||||
/**
|
||||
* Replaces (updates) the specified object from the relation.
|
||||
*/
|
||||
REPLACE : 'replace',
|
||||
|
||||
/**
|
||||
* Removes the specified object from the relation.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user