mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Update: change identifiers to cuid
This commit is contained in:
@@ -3,8 +3,8 @@ import { z } from 'zod';
|
||||
import CreateCommentValidationSchema from '../types/CommentSchema/CreateCommentValidationSchema';
|
||||
|
||||
const CreateNewBreweryCommentServiceSchema = CreateCommentValidationSchema.extend({
|
||||
userId: z.string().uuid(),
|
||||
breweryPostId: z.string().uuid(),
|
||||
userId: z.string().cuid(),
|
||||
breweryPostId: z.string().cuid(),
|
||||
});
|
||||
|
||||
const createNewBreweryComment = async ({
|
||||
|
||||
Reference in New Issue
Block a user