Skip to content
Snippets Groups Projects
Commit 28f50417 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

model is properly defined in rest response

parent 435403ba
No related branches found
No related tags found
1 merge request!158model is properly defined in rest response
Pipeline #
......@@ -119,7 +119,7 @@ public class CommentRestImpl extends BaseRestImpl {
} else if (column.equals("elementid")) {
value = getId(comment);
} else if (column.equals("modelid")) {
value = comment.getModelData().getId();
value = comment.getSubmodelData().getId();
} else if (column.equals("title")) {
value = getTitle(comment);
} else if (column.equals("pinned")) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment