From 2f9daf21499fa987e97505e692c3a2acf7bd0416 Mon Sep 17 00:00:00 2001 From: Alex Morask <144709477+amorask-bitwarden@users.noreply.github.com> Date: Mon, 1 Apr 2024 09:13:55 -0400 Subject: [PATCH] Update response code (#3949) --- src/Api/Billing/Controllers/ProviderOrganizationController.cs | 2 +- .../Billing/Controllers/ProviderOrganizationControllerTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Api/Billing/Controllers/ProviderOrganizationController.cs b/src/Api/Billing/Controllers/ProviderOrganizationController.cs index 8760415f5e..a5cc31c79c 100644 --- a/src/Api/Billing/Controllers/ProviderOrganizationController.cs +++ b/src/Api/Billing/Controllers/ProviderOrganizationController.cs @@ -58,6 +58,6 @@ public class ProviderOrganizationController( organization, requestBody.AssignedSeats); - return TypedResults.NoContent(); + return TypedResults.Ok(); } } diff --git a/test/Api.Test/Billing/Controllers/ProviderOrganizationControllerTests.cs b/test/Api.Test/Billing/Controllers/ProviderOrganizationControllerTests.cs index e75f4bb59e..805683de27 100644 --- a/test/Api.Test/Billing/Controllers/ProviderOrganizationControllerTests.cs +++ b/test/Api.Test/Billing/Controllers/ProviderOrganizationControllerTests.cs @@ -163,6 +163,6 @@ public class ProviderOrganizationControllerTests organization, requestBody.AssignedSeats); - Assert.IsType(result); + Assert.IsType(result); } }