diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index 465fa4d30..4f8915770 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -3,7 +3,7 @@ name: DeployBackendDev on: push: branches: - - "master" + - "fix-recaptcha-issue-in-jobs" jobs: deploy-backend-dev: diff --git a/utils/helper.go b/utils/helper.go index 0e9743c66..6d80a0094 100755 --- a/utils/helper.go +++ b/utils/helper.go @@ -54,12 +54,14 @@ func GetAWSIAMUserSession() (*session.Session, error) { func (repo *utilsRepository) VerifyRecaptcha(token string) (bool, error) { + log.Info(recaptchaBase64) + //create recaptcha assessment and verify token ctx := context.Background() credBytes, err := b64.StdEncoding.DecodeString(recaptchaBase64) if err != nil { - log.Error(err) + log.Error("Error while decoding recaptcha: ", err) return false, err }