mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Update save-billing-info-and-subscribe.js (#7897)
This commit is contained in:
parent
e665e85a90
commit
15ac7ac189
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ module.exports = {
|
|||
// Generate the license key for this subscription
|
||||
let licenseKey = await sails.helpers.createLicenseKey.with({
|
||||
numberOfHosts: quoteRecord.numberOfHosts,
|
||||
organization: this.req.me.organization,
|
||||
organization: this.req.me.organization ? this.req.me.organization : this.req.me.emailAddress,
|
||||
validTo: subscription.current_period_end
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue