Revize d7a375f5
Přidáno uživatelem Vojtěch Bartička před asi 2 roky(ů)
Backend/Core/Services/DocumentService/DocumentServiceEF.cs | ||
---|---|---|
134 | 134 |
.Include(a => a.Document) |
135 | 135 |
.Single(a => a.Document == document && a.User == annotatingUser && !(a is FinalAnnotation)); |
136 | 136 |
var dui = mapper.Map<DocumentUserInfo>(annotatingUser); |
137 |
dui.AnnotationId = annotation.Id; |
|
137 | 138 |
dui.State = annotation.State; |
138 | 139 |
annotatingUsersDto.Add(dui); |
139 | 140 |
} |
Také k dispozici: Unified diff
GET /documents returns annotationId for each annotator