Commit a2fa475

mo <mo.khan@gmail.com>
2019-01-05 19:49:29
fix linter errors
1 parent 6e6b2dc
Changed files (1)
app
controllers
app/controllers/scim/controller.rb
@@ -45,7 +45,8 @@ module Scim
       Current.token = authenticate_with_http_token do |token|
         Token.authenticate(token)
       end
-      render "unauthorized", status: :unauthorized, formats: :scim unless Current.user?
+      options = { status: :unauthorized, formats: :scim }
+      render "unauthorized", options unless Current.user?
     end
 
     def apply_scim_content_type