mirror of
https://github.com/bitwarden/server.git
synced 2024-12-27 17:47:37 +01:00
update stripe lib
This commit is contained in:
parent
3ac00123e7
commit
d95fe7b46e
@ -55,7 +55,7 @@
|
||||
<PackageReference Include="Serilog.Extensions.Logging" Version="1.4.0" />
|
||||
<PackageReference Include="Serilog.Extensions.Logging.File" Version="1.1.0" />
|
||||
<PackageReference Include="Serilog.Sinks.AzureDocumentDB" Version="3.6.1" />
|
||||
<PackageReference Include="Stripe.net" Version="7.8.0" />
|
||||
<PackageReference Include="Stripe.net" Version="10.4.0" />
|
||||
<PackageReference Include="U2F.Core" Version="1.0.3" />
|
||||
<PackageReference Include="WindowsAzure.Storage" Version="8.3.0" />
|
||||
<PackageReference Include="Otp.NET" Version="1.0.1" />
|
||||
|
@ -24,7 +24,7 @@ namespace Bit.Core.Models.Business
|
||||
Type = PaymentMethodType.Card;
|
||||
Description = $"{source.Card.Brand}, *{source.Card.Last4}, " +
|
||||
string.Format("{0}/{1}",
|
||||
string.Concat(source.Card.ExpirationMonth.Length == 1 ?
|
||||
string.Concat(source.Card.ExpirationMonth < 10 ?
|
||||
"0" : string.Empty, source.Card.ExpirationMonth),
|
||||
source.Card.ExpirationYear);
|
||||
CardBrand = source.Card.Brand;
|
||||
|
Loading…
Reference in New Issue
Block a user