1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 09:32:48 -05:00

IHttpContextAccessor registration missing

This commit is contained in:
Kyle Spearrin
2017-05-08 12:34:53 -04:00
parent 59820678fa
commit 4853917924
2 changed files with 10 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace Bit.Billing.Controllers
return new BadRequestResult();
}
var parsedEvent = StripeEventUtility.ParseEventDataItem<StripeEvent>(body) as StripeEvent;
var parsedEvent = StripeEventUtility.ParseEventDataItem<StripeEvent>(body);
if(string.IsNullOrWhiteSpace(parsedEvent?.Id))
{
return new BadRequestResult();