Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kontr 2.0
Portal API Backend
Commits
b36e1b04
Verified
Commit
b36e1b04
authored
Feb 19, 2019
by
Peter Stanko
Browse files
Updated schema - review item
parent
6cdbc3b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
portal/rest/schemas.py
View file @
b36e1b04
...
...
@@ -303,7 +303,9 @@ class ReviewItemSchema(BaseSchema, Schema):
content
=
fields
.
Str
()
file
=
fields
.
Str
()
line
=
fields
.
Int
()
review
=
NESTED
(
'Review'
,
only
=
(
'id'
,))
line_start
=
fields
.
Int
()
line_end
=
fields
.
Int
()
review
=
NESTED
(
'Review'
,
only
=
(
'id'
,
'submission.id'
))
user
=
NESTED
[
'user'
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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