mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
Correct uri for create response
This commit is contained in:
@@ -69,6 +69,6 @@ public class RepositoryCollectionResource {
|
||||
public Response create(RepositoryDto repositoryDto) throws IOException, RepositoryException {
|
||||
return adapter.create(repositoryDto,
|
||||
() -> dtoToRepositoryMapper.map(repositoryDto),
|
||||
user -> resourceLinks.user().self(user.getName()));
|
||||
repository -> resourceLinks.repository().self(repository.getNamespace(), repository.getName()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user