providers/scim: fix group patch schema (#5596)

the original request was made based on the sentry docs, which aren't actually correct

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L 2023-05-12 20:03:43 +02:00 committed by GitHub
parent ad7dedb61f
commit ec78e56fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -130,10 +130,8 @@ class SCIMGroupClient(SCIMClient[Group, SCIMGroupSchema]):
scim_group.id, scim_group.id,
PatchOperation( PatchOperation(
op=PatchOp.replace, op=PatchOp.replace,
value={ path="displayName",
"id": connection.id, value=scim_group.displayName,
"displayName": group.name,
},
), ),
) )