summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2018-05-29 11:50:19 +0200
committerToon Claes <toon@gitlab.com>2018-05-30 12:06:18 +0200
commitdf98eeabe481228d8befaf137deca5def64fd3bc (patch)
treeb5c72aba14f56b0b4b65c3bd019a6a2a37a3e4f8
parent1298fbe18d648a206f42d9e2737ee30acffcbf38 (diff)
downloadgitlab-ce-bvl-group-shared-projects-private-api.tar.gz
Add archived param to the json responsebvl-group-shared-projects-private-api
-rw-r--r--app/serializers/group_child_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/group_child_entity.rb b/app/serializers/group_child_entity.rb
index 15ec0f89bb2..ee150eefd9e 100644
--- a/app/serializers/group_child_entity.rb
+++ b/app/serializers/group_child_entity.rb
@@ -31,7 +31,7 @@ class GroupChildEntity < Grape::Entity
end
# Project only attributes
- expose :star_count,
+ expose :star_count, :archived,
if: lambda { |_instance, _options| project? }
# Group only attributes