From ebdbe00647dcb2b06ce248cf1b0d832934e43eff Mon Sep 17 00:00:00 2001 From: Owocki Date: Thu, 13 Jun 2019 05:40:03 -0400 Subject: [PATCH] fix for onetime contribs not showing up --- app/grants/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/grants/views.py b/app/grants/views.py index 5616c454446..63ab0909a41 100644 --- a/app/grants/views.py +++ b/app/grants/views.py @@ -519,7 +519,7 @@ def grant_fund(request, grant_id, grant_slug): subscription.save() # one time payments - if subscription.num_tx_approved == '1': + if int(subscription.num_tx_approved) == 1: subscription.successful_contribution(subscription.new_approve_tx_id); subscription.error = True #cancel subs so it doesnt try to bill again subscription.subminer_comments = "skipping subminer bc this is a 1 and done subscription, and tokens were alredy sent"