Skip to content
Snippets Groups Projects
Unverified Commit 4a0d56da authored by James Lopez's avatar James Lopez
Browse files

fix entity

parent 583ed0eb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment