mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 23:04:50 -05:00
not null ... whoops
This commit is contained in:
parent
95b25246f1
commit
9c14978bb2
@ -53,7 +53,7 @@ namespace Bit.Admin.Controllers
|
|||||||
foreach(var result in results)
|
foreach(var result in results)
|
||||||
{
|
{
|
||||||
var name = result["name"].ToString();
|
var name = result["name"].ToString();
|
||||||
if(string.IsNullOrWhiteSpace(name) && name.Length > 0 && char.IsNumber(name[0]))
|
if(!string.IsNullOrWhiteSpace(name) && name.Length > 0 && char.IsNumber(name[0]))
|
||||||
{
|
{
|
||||||
return new JsonResult(name);
|
return new JsonResult(name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user