This commit is contained in:
2025-06-09 19:04:28 +05:00
parent fe37888efc
commit 9d53a971ee
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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()),
}),
});
+1 -1
View File
@@ -11,7 +11,7 @@ async function createClient(
body: {
name: string;
phone: string;
email?: string;
email: string | null;
}
) {
try {