Skip to content

Commit

Permalink
make SCIM_PREFIX resource not the last from homeserver
Browse files Browse the repository at this point in the history
  • Loading branch information
azmeuk committed Sep 17, 2024
1 parent 35da83c commit 4311e65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/app/homeserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ def _configure_named_resource(
if compress:
client_resource = gz_wrap(client_resource)

if HAS_SCIM2:
resources[SCIM_PREFIX] = SCIMResource(self)

resources.update(
{
CLIENT_API_PREFIX: client_resource,
Expand All @@ -190,9 +193,6 @@ def _configure_named_resource(
}
)

if HAS_SCIM2:
resources[SCIM_PREFIX] = SCIMResource(self)

if self.config.email.can_verify_email:
from synapse.rest.synapse.client.password_reset import (
PasswordResetSubmitTokenResource,
Expand Down

0 comments on commit 4311e65

Please sign in to comment.