Skip to content

Commit

Permalink
fix: fix update integration type enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
artaasadi committed Nov 24, 2024
1 parent ba706f7 commit 258c23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/integration/db/integration_type_setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (db Database) ListIntegrationTypeSetup() ([]models.IntegrationTypeSetup, er
func (db Database) UpdateIntegrationTypeSetup(integrationTypeSetup *models.IntegrationTypeSetup) error {
tx := db.Orm.
Where("integration_type = ?", integrationTypeSetup.IntegrationType).
Update("enabled = ?", integrationTypeSetup.Enabled)
Update("enabled", integrationTypeSetup.Enabled)
if tx.Error != nil {
return tx.Error
}
Expand Down

0 comments on commit 258c23f

Please sign in to comment.