From d973738c931453c48a911a0ec80e1a21ba4021da Mon Sep 17 00:00:00 2001 From: Geoff McElhanon Date: Thu, 20 Apr 2023 14:30:44 -0500 Subject: [PATCH] Remove unnecessary null check from Change Queries' deletes and keyChanges endpoints. (#706) --- ...RelationshipsAuthorizationStrategyFilterDefinitionsFactory.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Application/EdFi.Ods.Api/Security/AuthorizationStrategies/Relationships/RelationshipsAuthorizationStrategyFilterDefinitionsFactory.cs b/Application/EdFi.Ods.Api/Security/AuthorizationStrategies/Relationships/RelationshipsAuthorizationStrategyFilterDefinitionsFactory.cs index 8925eb05ef..1a4c94cc35 100644 --- a/Application/EdFi.Ods.Api/Security/AuthorizationStrategies/Relationships/RelationshipsAuthorizationStrategyFilterDefinitionsFactory.cs +++ b/Application/EdFi.Ods.Api/Security/AuthorizationStrategies/Relationships/RelationshipsAuthorizationStrategyFilterDefinitionsFactory.cs @@ -145,7 +145,6 @@ private static void ApplyTrackedChangesAuthorizationCriteria( // Apply claim value criteria queryBuilder.OrWhereIn($"rba{filterIndex}.SourceEducationOrganizationId", filterContext.ClaimParameterValues); - queryBuilder.OrWhereNull($"rba{filterIndex}.SourceEducationOrganizationId"); } else {