File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -167,9 +167,9 @@ def authenticate_via_courses_mooc_fi(submitted_password)
167167 end
168168
169169 response = conn . post ( auth_url ) do |req |
170- req . headers [ " Content-Type" ] = " application/json"
171- req . headers [ " Accept" ] = " application/json"
172- req . headers [ " Authorization" ] = Base64 . decode64 (
170+ req . headers [ ' Content-Type' ] = ' application/json'
171+ req . headers [ ' Accept' ] = ' application/json'
172+ req . headers [ ' Authorization' ] = Base64 . decode64 (
173173 Rails . application . secrets . tmc_server_secret_for_communicating_to_secret_project
174174 )
175175
@@ -208,9 +208,9 @@ def update_password_via_courses_mooc_fi(old_password, new_password)
208208
209209 begin
210210 response = conn . post ( update_url ) do |req |
211- req . headers [ " Content-Type" ] = " application/json"
212- req . headers [ " Accept" ] = " application/json"
213- req . headers [ " Authorization" ] = Base64 . decode64 (
211+ req . headers [ ' Content-Type' ] = ' application/json'
212+ req . headers [ ' Accept' ] = ' application/json'
213+ req . headers [ ' Authorization' ] = Base64 . decode64 (
214214 Rails . application . secrets . tmc_server_secret_for_communicating_to_secret_project
215215 )
216216
You can’t perform that action at this time.
0 commit comments