From 2dda8702a721a29de0e88a3ad1aedcc25807428a Mon Sep 17 00:00:00 2001 From: idanasulinStrech Date: Wed, 22 Nov 2023 00:38:29 +0200 Subject: [PATCH] align with cloud --- server/memphis_handlers_integrations.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/memphis_handlers_integrations.go b/server/memphis_handlers_integrations.go index 4cb665308..c532ec9a4 100644 --- a/server/memphis_handlers_integrations.go +++ b/server/memphis_handlers_integrations.go @@ -109,11 +109,6 @@ func (it IntegrationsHandler) CreateIntegration(c *gin.Context) { } integration = s3Integration case "github": - if !ValidataAccessToFeature(user.TenantName, "feature-git-hub-integration") { - serv.Warnf("[tenant: %v][user: %v]CreateIntegration at ValidataAccessToFeature: %v", user.TenantName, user.Username, "feature-git-hub-integration") - c.AbortWithStatusJSON(SHOWABLE_ERROR_STATUS_CODE, gin.H{"message": "This feature is not available on your current pricing plan, in order to enjoy it you will have to upgrade your plan"}) - return - } githubIntegration, errorCode, err := it.handleCreateGithubIntegration(user.TenantName, body.Keys) if err != nil { if errorCode == 500 {