diff --git a/ApiDocs/Service/Model.ts b/ApiDocs/Service/Model.ts index 9c332059da..34d8bac5b6 100644 --- a/ApiDocs/Service/Model.ts +++ b/ApiDocs/Service/Model.ts @@ -173,7 +173,6 @@ export default class ServiceHandler { } ); - pageData.deleteRequest = await LocalCache.getOrSetString( 'model', 'delete-request', @@ -194,7 +193,6 @@ export default class ServiceHandler { } ); - pageData.listResponse = await LocalCache.getOrSetString( 'model', 'list-response', @@ -207,8 +205,9 @@ export default class ServiceHandler { pageData.exampleObjectID = ObjectID.generate(); - pageData.apiPath = DashboardApiRoute.toString() + currentResource.model.crudApiPath?.toString(); - + pageData.apiPath = + DashboardApiRoute.toString() + + currentResource.model.crudApiPath?.toString(); return res.render('pages/index', { page: page, diff --git a/ApiDocs/views/main/queries.ejs b/ApiDocs/views/main/data-types.ejs similarity index 100% rename from ApiDocs/views/main/queries.ejs rename to ApiDocs/views/main/data-types.ejs diff --git a/ApiDocs/views/partials/nav.ejs b/ApiDocs/views/partials/nav.ejs index f9d73f62aa..b594d34389 100644 --- a/ApiDocs/views/partials/nav.ejs +++ b/ApiDocs/views/partials/nav.ejs @@ -227,7 +227,7 @@ href="/docs/permissions">Permissions
  • Queries
  • + href="/docs/data-types">Data Types
  • Errors