fix: remove redundant endpoint (#2170)

Remove duplicate redundant endpoint
This commit is contained in:
David Nguyen
2025-11-12 11:01:15 +11:00
committed by GitHub
parent 4ade408001
commit f931885a95
3 changed files with 3 additions and 237 deletions

View File

@ -5,7 +5,6 @@ import { deleteAttachmentRoute } from './attachment/delete-attachment';
import { findAttachmentsRoute } from './attachment/find-attachments';
import { updateAttachmentRoute } from './attachment/update-attachment';
import { createDocumentRoute } from './create-document';
import { createDocumentFormDataRoute } from './create-document-formdata';
import { createDocumentTemporaryRoute } from './create-document-temporary';
import { deleteDocumentRoute } from './delete-document';
import { distributeDocumentRoute } from './distribute-document';
@ -39,11 +38,11 @@ export const documentRouter = router({
search: searchDocumentRoute,
share: shareDocumentRoute,
// Temporary v2 beta routes to be removed once V2 is fully released.
downloadBeta: downloadDocumentBetaRoute,
download: downloadDocumentRoute,
// Deprecated endpoints which need to be removed in the future.
downloadBeta: downloadDocumentBetaRoute,
createDocumentTemporary: createDocumentTemporaryRoute,
createDocumentFormData: createDocumentFormDataRoute,
// Internal document routes for custom frontend requests.
getDocumentByToken: getDocumentByTokenRoute,