mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Fixed issue where a non-active plan could not be upgraded to premium archive. Thanks @thedaveCA for help finding it.
This commit is contained in:
parent
5aa06c393f
commit
ef4e27035d
1 changed files with 4 additions and 4 deletions
|
@ -104,10 +104,10 @@ class Profile(models.Model):
|
||||||
price = "P-5JM46230U31841226MHZOMZY"
|
price = "P-5JM46230U31841226MHZOMZY"
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
price = "P-2EG40290653242115MHZROQQ"
|
price = "P-2EG40290653242115MHZROQQ"
|
||||||
# elif plan == "pro":
|
elif plan == "pro":
|
||||||
# price = "price_0KK5cvwdsmP8XBlaZDq068bA"
|
price = "price_0KK5cvwdsmP8XBlaZDq068bA"
|
||||||
# if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
# price = "price_0KK5twwdsmP8XBlasifbX56Z"
|
price = "price_0KK5twwdsmP8XBlasifbX56Z"
|
||||||
return price
|
return price
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
|
Loading…
Add table
Reference in a new issue