fix missing radix on parseInt
This commit is contained in:
parent
c79d515cd0
commit
75f5ec4393
|
@ -13,7 +13,7 @@ const AdminPlan = Plan.extend({
|
|||
@computed("trial_period_days")
|
||||
parseTrialPeriodDays(trial_period_days) {
|
||||
if (trial_period_days) {
|
||||
return parseInt(0 + trial_period_days);
|
||||
return parseInt(0 + trial_period_days, 10);
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# name: discourse-patrons
|
||||
# about: Integrates Stripe into Discourse to allow visitors to make payments and Subscribe
|
||||
# version: 2.2.2
|
||||
# version: 2.2.3
|
||||
# url: https://github.com/rimian/discourse-patrons
|
||||
# authors: Rimian Perkins
|
||||
|
||||
|
@ -40,7 +40,7 @@ end
|
|||
|
||||
after_initialize do
|
||||
::Stripe.api_version = "2019-11-05"
|
||||
::Stripe.set_app_info('Discourse Patrons', version: '2.2.2', url: 'https://github.com/rimian/discourse-patrons')
|
||||
::Stripe.set_app_info('Discourse Patrons', version: '2.2.3', url: 'https://github.com/rimian/discourse-patrons')
|
||||
|
||||
[
|
||||
"../lib/discourse_patrons/engine",
|
||||
|
|
Loading…
Reference in New Issue