fix(documents):use authenticated document access

This commit is contained in:
Anish Sarkar 2026-06-24 03:55:40 +05:30
parent fc2c4ad331
commit b4328cd52b
3 changed files with 3 additions and 16 deletions

View file

@ -6,7 +6,7 @@ import { toast } from "sonner";
import { Button } from "@/components/ui/button";
import { Spinner } from "@/components/ui/spinner";
import { documentsApiService } from "@/lib/apis/documents-api.service";
import { authenticatedFetch } from "@/lib/auth-utils";
import { authenticatedFetch } from "@/lib/auth-fetch";
import { buildBackendUrl } from "@/lib/env-config";
interface DownloadOriginalButtonProps {