From 0fecfbafaad18786cb7573f15cd1312ab2ad8708 Mon Sep 17 00:00:00 2001 From: Tim Rizzi Date: Thu, 18 Jun 2020 21:21:53 +0000 Subject: [PATCH 1/2] Test image delete in group registry --- app/controllers/groups/registry/repositories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/groups/registry/repositories_controller.rb b/app/controllers/groups/registry/repositories_controller.rb index 14651e0794a881..1f7240a9504461 100644 --- a/app/controllers/groups/registry/repositories_controller.rb +++ b/app/controllers/groups/registry/repositories_controller.rb @@ -19,7 +19,7 @@ def index .new(current_user: current_user) render json: serializer.with_pagination(request, response) - .represent_read_only(@images) + .represent(@images) end end end -- GitLab From c063749b9893e17bd841035094706bf3696c5769 Mon Sep 17 00:00:00 2001 From: Tim Rizzi Date: Mon, 29 Jun 2020 17:56:59 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- app/controllers/groups/registry/repositories_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/groups/registry/repositories_controller.rb b/app/controllers/groups/registry/repositories_controller.rb index 1f7240a9504461..ab9b7312308c4a 100644 --- a/app/controllers/groups/registry/repositories_controller.rb +++ b/app/controllers/groups/registry/repositories_controller.rb @@ -19,7 +19,7 @@ def index .new(current_user: current_user) render json: serializer.with_pagination(request, response) - .represent(@images) + .represent(@images) end end end -- GitLab