Fix create bookmark button not doing anything, fix bookmark notes not being saved

This commit is contained in:
Neil Brommer 2021-12-13 22:04:07 -08:00
parent 55625b1be4
commit 07a3245bfc
3 changed files with 6 additions and 5 deletions

View file

@ -32,7 +32,7 @@ namespace Start.Server.Data.Services {
if (!BookmarkOwnershipTools.IsBookmarkGroupOwner(this.db, userId, bookmarkGroupId))
return null;
Bookmark newBookmark = new(title, url, bookmarkGroupId);
Bookmark newBookmark = new(title, url, notes, bookmarkGroupId);
await db.Bookmarks.AddAsync(newBookmark);
await db.SaveChangesAsync();