Merge pull request #514 from MODSetter/dev

fix: update API endpoint for fetching editor content
This commit is contained in:
Rohan Verma
2025-11-30 15:16:36 -08:00
committed by GitHub
@@ -46,7 +46,7 @@ export function DashboardBreadcrumb() {
if (token) {
fetch(
`${process.env.NEXT_PUBLIC_FASTAPI_BACKEND_URL}/api/v1/documents/${documentId}/editor-content`,
`${process.env.NEXT_PUBLIC_FASTAPI_BACKEND_URL}/api/v1/search-spaces/${searchSpaceId}/documents/${documentId}/editor-content`,
{
headers: {
Authorization: `Bearer ${token}`,