mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
Add revision to context
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user