Skip to content

Commit

Permalink
fix query kudos detail
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu committed Sep 19, 2018
1 parent 3e70c46 commit de935a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/kudos/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def details(request):
kudos = Token.objects.get(pk=kudos_id)
# Find other Kudos rows that are the same kudos.name, but of a different owner
related_kudos = Token.objects.exclude(
owner_address='0xD386793F1DB5F21609571C0164841E5eA2D33aD8').filter(name=kudos.name)
owner_address='0xD386793F1DB5F21609571C0164841E5eA2D33aD8').filter(name=kudos.id)
logger.info(f'Related Kudos Tokens: {related_kudos}')
# Find the Wallet rows that match the Kudos.owner_addresses
# related_wallets = Wallet.objects.filter(address__in=[rk.owner_address for rk in related_kudos]).distinct()[:20]
Expand Down

0 comments on commit de935a8

Please sign in to comment.