fix: documents endpoints allow slug as id parameter

This commit is contained in:
Tom Moor
2022-11-29 22:16:46 -05:00
parent bc299a00f5
commit 63cef45284

View File

@@ -33,8 +33,8 @@ const SearchQuerySchema = z.object({
});
const BaseIdSchema = z.object({
/** Id of the entity */
id: z.string().uuid(),
/** Id of the document to be updated */
id: z.string(),
});
export const DocumentsListSchema = DocumentsSortParamsSchema.extend({