diff --git a/pkg/gitops/GitOpsConfigService.go b/pkg/gitops/GitOpsConfigService.go index 3c6ed66c15..73d98422dd 100644 --- a/pkg/gitops/GitOpsConfigService.go +++ b/pkg/gitops/GitOpsConfigService.go @@ -351,6 +351,7 @@ func (impl *GitOpsConfigServiceImpl) updateGitOpsConfig(request *apiBean.GitOpsC model.BitBucketWorkspaceId = request.BitBucketWorkspaceId model.BitBucketProjectKey = request.BitBucketProjectKey model.AllowCustomRepository = request.AllowCustomRepository + model.AuditLog = sql.AuditLog{UpdatedOn: time.Now(), UpdatedBy: request.UserId} err = impl.gitOpsRepository.UpdateGitOpsConfig(model, tx) if err != nil { impl.logger.Errorw("error in updating team", "data", model, "err", err)