update comments
This commit is contained in:
parent
d3f6c86db6
commit
29cd81b093
2
pom.xml
2
pom.xml
@ -10,7 +10,7 @@
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<java.version>11</java.version>
|
||||
<revision>0.3.1-SNAPSHOT</revision>
|
||||
<revision>0.3.2-SNAPSHOT</revision>
|
||||
</properties>
|
||||
|
||||
<parent>
|
||||
|
@ -174,6 +174,8 @@ public class CommentController extends BaseController {
|
||||
vote.setAuthor(getCurrentUsername());
|
||||
voteManager.save(vote);
|
||||
|
||||
commentManager.applyMetadata(getCurrentUsername(), comment);
|
||||
|
||||
return comment;
|
||||
}
|
||||
|
||||
|
@ -161,6 +161,8 @@ public class EntryController extends BaseController {
|
||||
vote.setAuthor(getCurrentUsername());
|
||||
voteManager.save(vote);
|
||||
|
||||
entryManager.applyMetadata(getCurrentUsername(), entry);
|
||||
|
||||
return entry;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user