Skip to content

Commit

Permalink
use double quotes per scalable scim api requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
grusin-db committed Oct 7, 2024
1 parent 51dea89 commit aec6f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure_dbr_scim_sync/scim.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def _generic_get_by_human_name(mapper, sdk_module, search_name):
cache.invalidate(search_name)

# cache miss or cache poison scenario
res = list(sdk_module.list(filter=f"{key_api_field} eq '{search_name}'") or [])
res = list(sdk_module.list(filter=f'{key_api_field} eq "{search_name}"') or [])
if res and len(res) == 1:
obj = res[0]
cache[search_name] = obj.id
Expand Down

0 comments on commit aec6f55

Please sign in to comment.