1
0
mirror of https://github.com/bitwarden/server synced 2025-12-17 00:33:23 +00:00

webhook fixes

This commit is contained in:
Kyle Spearrin
2019-02-15 16:18:53 -05:00
parent fb21b19490
commit dee395960a
3 changed files with 63 additions and 49 deletions

View File

@@ -47,7 +47,7 @@ namespace Bit.Billing.Controllers
body = await reader.ReadToEndAsync();
}
if(body == null)
if(string.IsNullOrWhiteSpace(body))
{
return new BadRequestResult();
}