fix: documents endpoints allow slug as id parameter
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user