Skip to content

Commit caed5bb

Browse files
committed
Fix call args
1 parent 95f5eff commit caed5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/restapi/views/model_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def valid_versions(self, request, **kwargs):
6262
})
6363

6464
@detail_route()
65-
def translations(self, _, **__):
65+
def translations(self, *_, **__):
6666
translations = self.get_object().translations.all()
6767
return Response({
6868
'translations': ProjectSerializer(translations, many=True).data

0 commit comments

Comments
 (0)