update api services

This commit is contained in:
thierryverse 2025-11-18 11:33:57 +02:00
parent e3af39bdbd
commit 7223a7b04d
4 changed files with 51 additions and 92 deletions

View file

@ -9,7 +9,7 @@ import {
import { ValidationError } from "../error";
import { baseApiService } from "./base-api.service";
export class AuthApiService {
class AuthApiService {
login = async (request: LoginRequest) => {
// Validate the request
const parsedRequest = loginRequest.safeParse(request);