Commit 9a36eeec authored by Piotr Gawron's avatar Piotr Gawron
Browse files

rest API provides information about owner

parent a037e8d3
......@@ -105,6 +105,7 @@ public class ProjectRestImpl extends BaseRestImpl {
result.put("warnings", project.getWarnings().size() > 0);
result.put("errors", project.getErrors() != null && !project.getErrors().isEmpty());
result.put("name", project.getName());
result.put("owner", project.getOwner().getLogin());
result.put("projectId", project.getProjectId());
result.put("creationDate", super.prepareDate(project.getCreationDate()));
result.put("mapCanvasType", project.getMapCanvasType());
Markdown is supported
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