mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-06 20:15:17 +02:00
Merge pull request #514 from MODSetter/dev
fix: update API endpoint for fetching editor content
This commit is contained in:
commit
a0bdcf366f
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ export function DashboardBreadcrumb() {
|
||||||
|
|
||||||
if (token) {
|
if (token) {
|
||||||
fetch(
|
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: {
|
headers: {
|
||||||
Authorization: `Bearer ${token}`,
|
Authorization: `Bearer ${token}`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue