diff --git a/server/serializer/channel_subscription.go b/server/serializer/channel_subscription.go index b22aff6..8463f41 100644 --- a/server/serializer/channel_subscription.go +++ b/server/serializer/channel_subscription.go @@ -19,9 +19,9 @@ const ( SubscriptionTypeSpace = "space_subscription" SubscriptionTypePage = "page_subscription" - aliasAlreadyExist = "A subscription with the same name already exists." - urlSpaceKeyAlreadyExist = "A subscription with the same url and space key already exists." - urlPageIDAlreadyExist = "A subscription with the same url and page id already exists." + aliasAlreadyExist = "A subscription with the same name already exists in this channel." + urlSpaceKeyAlreadyExist = "A subscription with the same url and space key already exists in this channel." + urlPageIDAlreadyExist = "A subscription with the same url and page id already exists in this channel." ) var eventDisplayName = map[string]string{ diff --git a/server/service/save_subscription.go b/server/service/save_subscription.go index 57ff58a..b33a541 100644 --- a/server/service/save_subscription.go +++ b/server/service/save_subscription.go @@ -11,9 +11,9 @@ import ( const ( generalSaveError = "An error occurred attempting to save a subscription." - aliasAlreadyExist = "A subscription with the same name already exists." - urlSpaceKeyAlreadyExist = "A subscription with the same url and space key already exists." - urlPageIDAlreadyExist = "A subscription with the same url and page id already exists." + aliasAlreadyExist = "A subscription with the same name already exists in this channel." + urlSpaceKeyAlreadyExist = "A subscription with the same url and space key already exists in this channel." + urlPageIDAlreadyExist = "A subscription with the same url and page id already exists in this channel." ) func SaveSubscription(subscription serializer.Subscription) (int, error) {