Skip to content

Commit

Permalink
Corrigido erro SSl
Browse files Browse the repository at this point in the history
  • Loading branch information
luizpicolo committed Jan 3, 2021
1 parent 4ede33c commit 7722e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/students.rake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace :student do
desc 'Download students data by SigaEdu'
task get_data: :environment do
json_students = "https://#{ENV['URI_API']}/students?token=#{ENV['TOKEN_API']}&campus=#{ENV['CAMPUS_URI_API']}"
response = HTTParty.get(json_students)
response = HTTParty.get(json_students, verify: true)
data_students = response.parsed_response
data_students.each do |data|

Expand Down

0 comments on commit 7722e1f

Please sign in to comment.