Skip to content

Commit 730cab7

Browse files
committed
Rubocop fixes
1 parent 51f0ae8 commit 730cab7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/models/user.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)