1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

license when no billing info

This commit is contained in:
Kyle Spearrin
2017-09-18 17:57:37 -04:00
parent 0caacaa5aa
commit 9b790b7edc
2 changed files with 4 additions and 2 deletions

View File

@ -426,7 +426,8 @@ namespace Bit.Api.Controllers
}
else
{
return new BillingResponseModel(user);
var license = await _userService.GenerateLicenseAsync(user);
return new BillingResponseModel(user, license);
}
}