mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 21:39:49 +00:00
refac, useApiClient for loader and actions
This commit is contained in:
@@ -129,7 +129,7 @@ class VideoCommentView(ApiBaseView):
|
||||
# pylint: disable=unused-argument
|
||||
self.get_document(video_id)
|
||||
|
||||
return Response(self.response, status=self.status_code)
|
||||
return Response(self.response, status=200)
|
||||
|
||||
|
||||
class VideoSimilarView(ApiBaseView):
|
||||
@@ -153,4 +153,4 @@ class VideoSimilarView(ApiBaseView):
|
||||
},
|
||||
}
|
||||
self.get_document_list(request, pagination=False)
|
||||
return Response(self.response, status=self.status_code)
|
||||
return Response(self.response, status=200)
|
||||
|
||||
Reference in New Issue
Block a user