Skip to content

Commit

Permalink
Fix order of valid chains
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayanShiravani committed Nov 21, 2023
1 parent fd756e8 commit c039b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prizetap/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def post(self, request, pk):


class ValidChainsView(ListAPIView):
queryset = Chain.objects.filter(chain_id__in=list(CONTRACT_ADDRESSES.keys()))
queryset = Chain.objects.filter(chain_id__in=list(CONTRACT_ADDRESSES.keys())).order_by("pk")
serializer_class = SmallChainSerializer

def get(self, request):
Expand Down

0 comments on commit c039b21

Please sign in to comment.