update comments

This commit is contained in:
_Bastler 2021-10-04 14:14:10 +02:00
parent d3f6c86db6
commit 29cd81b093
3 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version> <java.version>11</java.version>
<revision>0.3.1-SNAPSHOT</revision> <revision>0.3.2-SNAPSHOT</revision>
</properties> </properties>
<parent> <parent>

View File

@ -174,6 +174,8 @@ public class CommentController extends BaseController {
vote.setAuthor(getCurrentUsername()); vote.setAuthor(getCurrentUsername());
voteManager.save(vote); voteManager.save(vote);
commentManager.applyMetadata(getCurrentUsername(), comment);
return comment; return comment;
} }

View File

@ -161,6 +161,8 @@ public class EntryController extends BaseController {
vote.setAuthor(getCurrentUsername()); vote.setAuthor(getCurrentUsername());
voteManager.save(vote); voteManager.save(vote);
entryManager.applyMetadata(getCurrentUsername(), entry);
return entry; return entry;
} }