comment out generating invoices via lhv transaction

This commit is contained in:
olegphenomenon 2022-02-08 10:06:57 +02:00
parent de9504fef7
commit ccd9260ce8
9 changed files with 62 additions and 91 deletions

View file

@ -52,9 +52,10 @@ def base_request(url:, json_obj:)
'Accept' => TOKEN
}
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
unless Rails.env.development?
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
end
http.post(url, json_obj.to_json, headers)
end