Add archived param to the json response

This commit is contained in:
Toon Claes 2018-05-29 11:50:19 +02:00
parent 1298fbe18d
commit df98eeabe4
1 changed files with 1 additions and 1 deletions

View File

@ -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