Make sure the document page image API goes via the proper queryset filtering.
Signed-off-by: Michael Price <loneviking72@gmail.com>
This commit is contained in:
committed by
Roberto Rosario
parent
381dafc7b9
commit
9ca7ca5ce6
@@ -378,7 +378,7 @@ class APIDocumentPageImageView(generics.RetrieveAPIView):
|
|||||||
|
|
||||||
task = task_generate_document_page_image.apply_async(
|
task = task_generate_document_page_image.apply_async(
|
||||||
kwargs=dict(
|
kwargs=dict(
|
||||||
document_page_id=self.kwargs['page_pk'], size=size, zoom=zoom,
|
document_page_id=self.get_object().pk, size=size, zoom=zoom,
|
||||||
rotation=rotation
|
rotation=rotation
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user