updated the setDescription with open(itemId).asItem()
This commit is contained in:
parent
d203bf71e9
commit
b66c0b3b54
|
@ -937,7 +937,7 @@ public class StorageHubClientService {
|
|||
Validate.notNull(itemId, "Bad request the itemId is null");
|
||||
setContextProviders(scope, authorizationToken);
|
||||
|
||||
shClient.open(itemId).asFile().setDescription(newDescription);
|
||||
shClient.open(itemId).asItem().setDescription(newDescription);
|
||||
return shClient.open(itemId).asFile().get().getDescription();
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue