Commit 63ad9f4

mo <mo@mokhan.ca>
2019-06-15 16:18:02
remove parameter from invocation
1 parent 13da3ef
Changed files (1)
app
models
app/models/user.rb
@@ -13,7 +13,7 @@ class User < ApplicationRecord
   validates :timezone, inclusion: VALID_TIMEZONES
   validates :locale, inclusion: VALID_LOCALES
 
-  scope :scim_search, ->(filter) { Scim::Search.for(filter, User, SCIM::User::ATTRIBUTES) }
+  scope :scim_search, ->(filter) { Scim::Search.for(filter, User) }
 
   def name_id_for(name_id_format)
     Saml::Kit::Namespaces::PERSISTENT == name_id_format ? id : email