Skip to content

Commit a4eda4a

Browse files
D0rs4nMarkKoz
authored andcommitted
Adjust filtering settings for the AoC link viewset
1 parent 1005229 commit a4eda4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_site/apps/api/viewsets/bot/aoc_link.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ class AocAccountLinkViewSet(
6868
serializer_class = AocAccountLinkSerializer
6969
queryset = AocAccountLink.objects.all()
7070
filter_backends = (DjangoFilterBackend,)
71-
filter_fields = ("user__id",)
71+
filter_fields = ("user__id", "aoc_username")

0 commit comments

Comments
 (0)