summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-10-09 13:47:11 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-10-13 09:42:27 -0400
commit5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27 (patch)
tree18040cd9936d625185f21fa9be9633025c4e0c02 /store/store.go
parent8a7aa7f66f8f244ac17eda54b2a63b9538b55435 (diff)
downloadchat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.tar.gz
chat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.tar.bz2
chat-5cecf1afcd1d8e561a5b2d840e5bd1b588a74a27.zip
Made structural changes to server-side Preference code based on feedback
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/store/store.go b/store/store.go
index df55bc6d8..9d9fd6489 100644
--- a/store/store.go
+++ b/store/store.go
@@ -152,8 +152,6 @@ type WebhookStore interface {
}
type PreferenceStore interface {
- Save(preference *model.Preference) StoreChannel
- Update(preference *model.Preference) StoreChannel
- SaveOrUpdate(preferences ...*model.Preference) StoreChannel
+ Save(preferences *model.Preferences) StoreChannel
GetByName(userId string, category string, name string) StoreChannel
}