mirror of
https://github.com/readur/readur.git
synced 2026-02-18 04:51:16 -06:00
fix(client): resolve incorrect import on documentService
This commit is contained in:
@@ -94,7 +94,7 @@ const DocumentDetailsPage: React.FC = () => {
|
||||
|
||||
setRetryingOcr(true);
|
||||
try {
|
||||
await api.bulkRetryOcr({
|
||||
await documentService.bulkRetryOcr({
|
||||
mode: 'specific',
|
||||
document_ids: [document.id],
|
||||
priority_override: 15,
|
||||
|
||||
@@ -343,7 +343,7 @@ const DocumentsPage: React.FC = () => {
|
||||
const handleRetryOcr = async (doc: Document): Promise<void> => {
|
||||
try {
|
||||
setRetryingDocument(doc.id);
|
||||
await api.bulkRetryOcr({
|
||||
await documentService.bulkRetryOcr({
|
||||
mode: 'specific',
|
||||
document_ids: [doc.id],
|
||||
priority_override: 15,
|
||||
|
||||
Reference in New Issue
Block a user