1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 08:43:27 +00:00

fix cancelled typo in areas

This commit is contained in:
Kyle Spearrin
2018-07-20 17:00:05 -04:00
parent 05b1c1cf9b
commit 0d4ac29bc7
3 changed files with 5 additions and 5 deletions

View File

@@ -193,9 +193,9 @@ namespace Bit.Core.Services
throw new GatewayException("Subscription was not found.");
}
if(sub.CanceledAt.HasValue || sub.Status == "cancelled")
if(sub.CanceledAt.HasValue || sub.Status == "canceled" || sub.Status == "unpaid")
{
// Already cancelled
// Already canceled
return;
}