chore: add createclientbyadmin

This commit is contained in:
2026-03-13 21:44:15 +01:00
parent 9cb50bb625
commit a5f995cca9
11 changed files with 5046 additions and 13 deletions
+2 -2
View File
@@ -427,13 +427,13 @@ export const createClientByAdmin = async (data: {
telephone: string;
}) => {
const { data: res } = await apiClient.post(
`https://uber-stup.club/api/v1/auth/register`,
`${V2}/admin/protected/clients`,
data,
);
return {
success: true,
message: res.message || "Client créé",
user: res.user,
client: res.client,
};
};