FIX: Make sure new user narrative returns toggleBookmark promise

FIX: Make sure new user narrative returns toggleBookmark promise

  • the call to this.super() was not returned so there is no promise to chain .then() with, causing errors for bookmarks with reminders
diff --git a/plugins/discourse-narrative-bot/assets/javascripts/initializers/new-user-narrative.js.es6 b/plugins/discourse-narrative-bot/assets/javascripts/initializers/new-user-narrative.js.es6
index 6498f50..35a3e09 100644
--- a/plugins/discourse-narrative-bot/assets/javascripts/initializers/new-user-narrative.js.es6
+++ b/plugins/discourse-narrative-bot/assets/javascripts/initializers/new-user-narrative.js.es6
@@ -32,7 +32,7 @@ function initialize(api) {
           this.appEvents.trigger("post-stream:refresh", { id: this.id });
         });
       }
-      this._super();
+      return this._super();
     }
   });
 

GitHub sha: 6df22638