From 53fa9d2a6ad8e49e8eaa91faddb9e69483b48828 Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 12 Mar 2018 03:25:56 -0500 Subject: [PATCH] fix removed scope error --- app/store/store.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/store/store.go b/app/store/store.go index c064f86f..03b95621 100644 --- a/app/store/store.go +++ b/app/store/store.go @@ -35,9 +35,9 @@ type Admin interface { // Notifier defines all store ops to store/retrieve notification info for users type Notifier interface { - Set(locator Locator, user NotifUser, scope NotifScope, status bool) error // subscribe / unsubscribe user to locator updates - Status(locator Locator, userID string) bool // get subscription status for user & locator - List(locator Locator) ([]NotifUser, error) // list all subscribed users + Set(locator Locator, user NotifUser, status bool) error // subscribe / unsubscribe user to locator updates + Status(locator Locator, userID string) bool // get subscription status for user & locator + List(locator Locator) ([]NotifUser, error) // list all subscribed users } func sortComments(comments []Comment, sortFld string) []Comment {