Skip to content

Commit

Permalink
align with cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
idanasulin2706 committed Nov 21, 2023
1 parent 198dd17 commit 2dda870
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions server/memphis_handlers_integrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2dda870

Please sign in to comment.