summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/store/store.go b/store/store.go
index 8a2051527..29028130e 100644
--- a/store/store.go
+++ b/store/store.go
@@ -65,7 +65,7 @@ type Store interface {
UserAccessToken() UserAccessTokenStore
ChannelMemberHistory() ChannelMemberHistoryStore
Plugin() PluginStore
- ServiceTerms() ServiceTermsStore
+ TermsOfService() TermsOfServiceStore
MarkSystemRanUnitTests()
Close()
LockToMaster()
@@ -523,8 +523,8 @@ type SchemeStore interface {
PermanentDeleteAll() StoreChannel
}
-type ServiceTermsStore interface {
- Save(serviceTerms *model.ServiceTerms) StoreChannel
+type TermsOfServiceStore interface {
+ Save(termsOfService *model.TermsOfService) StoreChannel
GetLatest(allowFromCache bool) StoreChannel
Get(id string, allowFromCache bool) StoreChannel
}