Commit 4bb7b849 authored by Javi Corvi's avatar Javi Corvi
Browse files

new version features

parent 351d7bdb
......@@ -30,6 +30,7 @@ public class DocumentTracking {
public DocumentTracking(Long documentId) {
this.documentId=documentId;
this.trackings = new ArrayList<Tracking>();
}
......
......@@ -750,7 +750,8 @@ public class DocumentServiceImpl implements DocumentService {
}
public DocumentTracking findTrackings(Long documentId) {
return documentTrackingRepository.findByDocumentId(documentId);
DocumentTracking documentTracking = this.findDocumentTrackingById(documentId);
return documentTracking;
}
......
Supports Markdown
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