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:
parent
bcfaf55412
commit
3715d7d426
@ -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; }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user