Fix Plugin Depreciations (#41)

Fix Plugin Depreciations (#41)

Co-authored-by: Isaac Janzen isaac@brandnewbox.com

diff --git a/assets/javascripts/discourse/initializers/enable-user-notes.js.es6 b/assets/javascripts/discourse/initializers/enable-user-notes.js.es6
index b71f1fb..5143c17 100644
--- a/assets/javascripts/discourse/initializers/enable-user-notes.js.es6
+++ b/assets/javascripts/discourse/initializers/enable-user-notes.js.es6
@@ -3,6 +3,8 @@ import { iconNode } from "discourse-common/lib/icon-library";
 import { showUserNotes } from "discourse/plugins/discourse-user-notes/discourse-user-notes/lib/user-notes";
 import { observes, on } from "discourse-common/utils/decorators";
 
+const PLUGIN_ID = "discourse-user-notes";
+
 export default {
   name: "enable-user-notes",
   initialize(container) {
@@ -38,6 +40,7 @@ export default {
       });
 
       api.modifyClass("controller:user", {
+        pluginId: PLUGIN_ID,
         userNotesCount: null,
 
         @on("init")

GitHub sha: 1c72862328792fa873573ce0365ee85583fb506b

This commit appears in #41 which was approved by CvX. It was merged by CvX.