Merge "Store topic of a change in Notedb"
This commit is contained in:
@@ -116,6 +116,7 @@ public class PutTopic implements RestModifyView<ChangeResource, Input>,
|
||||
oldTopicName, newTopicName);
|
||||
}
|
||||
change.setTopic(Strings.emptyToNull(newTopicName));
|
||||
ctx.getChangeUpdate().setTopic(change.getTopic());
|
||||
ChangeUtil.updated(change);
|
||||
ctx.getDb().changes().update(Collections.singleton(change));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user