Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ac6c2b41
Commit
ac6c2b41
authored
Mar 22, 2021
by
George Koltsov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update project import API field
parent
d3635ba2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
lib/api/entities/project_import_failed_relation.rb
lib/api/entities/project_import_failed_relation.rb
+5
-1
spec/lib/api/entities/project_import_failed_relation_spec.rb
spec/lib/api/entities/project_import_failed_relation_spec.rb
+1
-1
No files found.
lib/api/entities/project_import_failed_relation.rb
View file @
ac6c2b41
...
...
@@ -3,7 +3,11 @@
module
API
module
Entities
class
ProjectImportFailedRelation
<
Grape
::
Entity
expose
:id
,
:created_at
,
:exception_class
,
:exception_message
,
:source
expose
:id
,
:created_at
,
:exception_class
,
:source
expose
:exception_message
do
|
_
|
nil
end
expose
:relation_key
,
as: :relation_name
end
...
...
spec/lib/api/entities/project_import_failed_relation_spec.rb
View file @
ac6c2b41
...
...
@@ -14,7 +14,7 @@ RSpec.describe API::Entities::ProjectImportFailedRelation do
id:
import_failure
.
id
,
created_at:
import_failure
.
created_at
,
exception_class:
import_failure
.
exception_class
,
exception_message:
import_failure
.
exception_message
,
exception_message:
nil
,
relation_name:
import_failure
.
relation_key
,
source:
import_failure
.
source
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment