1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Add providerType as part of the response object (#4055)

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
cyprain-okeke 2024-05-06 20:21:38 +01:00 committed by GitHub
parent bcfaf55412
commit 3715d7d426
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,6 @@
using System.Text.Json.Serialization;
using Bit.Core.AdminConsole.Entities.Provider;
using Bit.Core.AdminConsole.Enums.Provider;
using Bit.Core.Models.Api;
using Bit.Core.Utilities;
@ -24,6 +25,7 @@ public class ProviderResponseModel : ResponseModel
BusinessTaxNumber = provider.BusinessTaxNumber;
BillingEmail = provider.BillingEmail;
CreationDate = provider.CreationDate;
Type = provider.Type;
}
public Guid Id { get; set; }
@ -37,4 +39,5 @@ public class ProviderResponseModel : ResponseModel
public string BusinessTaxNumber { get; set; }
public string BillingEmail { get; set; }
public DateTime CreationDate { get; set; }
public ProviderType Type { get; set; }
}