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({
|
const BaseIdSchema = z.object({
|
||||||
/** Id of the entity */
|
/** Id of the document to be updated */
|
||||||
id: z.string().uuid(),
|
id: z.string(),
|
||||||
});
|
});
|
||||||
|
|
||||||
export const DocumentsListSchema = DocumentsSortParamsSchema.extend({
|
export const DocumentsListSchema = DocumentsSortParamsSchema.extend({
|
||||||
|
|||||||
Reference in New Issue
Block a user