Add revision to context

This commit is contained in:
René Pfeuffer
2019-03-12 15:44:23 +01:00
parent f814e664cd
commit c8b19a9d66

View File

@@ -65,7 +65,7 @@ public class SourceRootResource {
if (browserResult != null) {
return Response.ok(browserResultToFileObjectDtoMapper.map(browserResult, namespaceAndName)).build();
} else {
throw notFound(entity("Source", path).in(namespaceAndName));
throw notFound(entity("Source", path).in("Revision", revision).in(namespaceAndName));
}
}
}