X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/303650fa703e0661a71ae44fbbfcc1f28f423196..7415bc3f7239b5c062e3876681265912d8150edd:/apps/workbench/app/models/collection.rb diff --git a/apps/workbench/app/models/collection.rb b/apps/workbench/app/models/collection.rb index 305ea01530..025c136d41 100644 --- a/apps/workbench/app/models/collection.rb +++ b/apps/workbench/app/models/collection.rb @@ -99,6 +99,6 @@ class Collection < ArvadosBase end def untrash - arvados_api_client.api(self.class, "/#{self.uuid}/untrash", {}) + arvados_api_client.api(self.class, "/#{self.uuid}/untrash", {"ensure_unique_name" => true}) end end