Skip to content

Commit

Permalink
Merge pull request #4065 from SaptakS/fix-unsigned-nda
Browse files Browse the repository at this point in the history
Retrieve bounty document for new bounty creation on transaction update
  • Loading branch information
danlipert authored Mar 29, 2019
2 parents 3371ebc + cb9445a commit a609fee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/dashboard/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ def create_new_bounty(old_bounties, bounty_payload, bounty_details, bounty_id):
)
if latest_old_bounty_dict['bounty_reserved_for_user']:
latest_old_bounty_dict['bounty_reserved_for_user'] = Profile.objects.get(pk=latest_old_bounty_dict['bounty_reserved_for_user'])
if latest_old_bounty_dict['unsigned_nda']:
latest_old_bounty_dict['unsigned_nda'] = BountyDocuments.objects.filter(
pk=latest_old_bounty_dict['unsigned_nda']
).first()
bounty_kwargs.update(latest_old_bounty_dict)

try:
Expand Down

0 comments on commit a609fee

Please sign in to comment.