Verified Commit ba9665b0 authored by Kristyna Pekarkova's avatar Kristyna Pekarkova Committed by Peter Stanko
Browse files

Fixed schema for review items, needed user.name

parent 21a503d6
......@@ -29,7 +29,7 @@ class NestedCollection:
'Submission': ('id', 'state', 'created_at', 'updated_at', 'result', 'points',
*_in('user', ['username', 'codename', 'name', 'uco', 'id']),
*_in('project', DEFAULTS), *_in('course', DEFAULTS)),
'ReviewItem': ('id', 'review.id', 'line', 'content', 'file', 'index',
'ReviewItem': ('id', 'review.id', 'line', 'content', 'file',
*_in('user', USER_PARAMS)),
'Secret': ('id', 'name', 'expires_at')
}
......
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