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

Merge branch '248-there-is-a-problem-with-adding-comment-on-submap' into 'master'

model is properly defined in rest response

Closes #248

See merge request piotr.gawron/minerva!158
parents 435403ba 28f50417
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