implemented updating of bookmarks
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -174,7 +174,7 @@ public class BookmarkApi extends BaseHandler implements BookmarkService {
|
||||
if (newBookmark.urlId() != urlId) {
|
||||
tagService().save(BOOKMARK,newBookmark.urlId(),List.of(user.id()),tags);
|
||||
db.remove(user, bookmark);
|
||||
//messageBus().dispatch(new BookmarkEvent(user,newBookmark,CREATE));
|
||||
messageBus().dispatch(new BookmarkEvent(user,newBookmark,CREATE));
|
||||
} else messageBus().dispatch(new BookmarkEvent(user,newBookmark,UPDATE));
|
||||
return sendContent(ex,newBookmark);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user