3527: Support using a Docker image from any stream in a Collection.
[arvados.git] / services / api / lib / current_api_client.rb
index b4e6bbcf4d6f5c3b84c666bb6da615e92b5587b3..7bd475278ce7d320e643cd2e78e9636f54511995 100644 (file)
@@ -169,7 +169,7 @@ module CurrentApiClient
           $empty_collection = Collection.
             where(uuid: empty_collection_uuid).
             first_or_create!(manifest_text: '')
-          Link.where(tail_uuid: anonymous_group_uuid,
+          Link.where(tail_uuid: anonymous_group.uuid,
                      head_uuid: empty_collection_uuid,
                      link_class: 'permission',
                      name: 'can_read').first_or_create!