Commit 4a0d56da authored by James Lopez's avatar James Lopez

fix entity

parent 583ed0eb
......@@ -92,7 +92,9 @@ module API
class ProjectImportStatus < ProjectIdentity
expose :import_status
expose :import_error, if: :import_error
# TODO: Use `expose_nil` once we upgrade the grape-entity gem
expose :import_error, if: lambda { |status, _ops| status.import_error }
end
class BasicProjectDetails < ProjectIdentity
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment