import { http } from "@/services/http.service";

import { LoginRequestModel } from "../model/LoginRequestModel";
import { LoginResponseModel } from "../model/LoginResponseModel";

export async function loginUser(
	request: LoginRequestModel
): Promise<LoginResponseModel> {
	return await http.post<LoginResponseModel>("/api/identity/login", request);
}
