DEV: Use User as default type for group members

This commit is contained in:
Peter Bouda 2024-10-24 09:44:05 +01:00
parent 1496404433
commit ab92c4dc97

View file

@ -27,9 +27,7 @@ module DiscourseScim::GroupMixin
when 'group' when 'group'
Group.find_by_id(id) Group.find_by_id(id)
else else
# TODO: Decide what to do here, I added User to be able to use scim-tester
User.find_by_id(id) User.find_by_id(id)
# raise Scimitar::InvalidSyntaxError.new("Unrecognised type #{type.inspect}")
end end
} }
] ]