fixes
This commit is contained in:
@@ -8,6 +8,6 @@ export const clientsController = new Elysia({ prefix: "/clients" })
|
||||
body: t.Object({
|
||||
name: t.String(),
|
||||
phone: t.String(),
|
||||
email: t.Optional(t.String()),
|
||||
email: t.Nullable(t.String()),
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -11,7 +11,7 @@ async function createClient(
|
||||
body: {
|
||||
name: string;
|
||||
phone: string;
|
||||
email?: string;
|
||||
email: string | null;
|
||||
}
|
||||
) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user