🐛 Fix conversion bug
This commit is contained in:
parent
5dea569bd8
commit
84a5897855
@ -25,6 +25,7 @@ public class ArtifactResource
|
|||||||
|
|
||||||
@RestClient
|
@RestClient
|
||||||
UserClient userClient;
|
UserClient userClient;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
ResponseEnhancementService responseEnhancementService;
|
ResponseEnhancementService responseEnhancementService;
|
||||||
|
|
||||||
@ -53,14 +54,4 @@ public class ArtifactResource
|
|||||||
{
|
{
|
||||||
return responseEnhancementService.enhance(artifactRepo.listAll());
|
return responseEnhancementService.enhance(artifactRepo.listAll());
|
||||||
}
|
}
|
||||||
|
|
||||||
private Map<String, User> getAccounts(List<ArtifactId> artifactIds)
|
|
||||||
{
|
|
||||||
List<String> ids = new ArrayList<>();
|
|
||||||
for (ArtifactId artifactId : artifactIds)
|
|
||||||
{
|
|
||||||
System.out.println("Skip setting user. Needs to be implemented");
|
|
||||||
}
|
|
||||||
return userClient.get(ids);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user