From 9a387223a39fc5f8271236558585399681e2d5dd Mon Sep 17 00:00:00 2001 From: Jelle Date: Tue, 4 Jul 2023 15:21:23 +0200 Subject: [PATCH] Fixed serviceproviders 500 status --- controllers/authregistry/authregistry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/authregistry/authregistry.js b/controllers/authregistry/authregistry.js index 726b94b2..c384298e 100644 --- a/controllers/authregistry/authregistry.js +++ b/controllers/authregistry/authregistry.js @@ -106,7 +106,7 @@ const is_matching_policy = function is_matching_policy(policy_mask, policy) { const service_providers_mask = policy_mask.target.environment.serviceProviders; const service_providers = policy.target.environment.serviceProviders; - const all_mask_sp = service_providers_mask.every(sp => service_providers.has(sp)); + const all_mask_sp = service_providers_mask.every(sp => service_providers.includes(sp)); if (!all_mask_sp) { return false; }