using models;
using UnityEngine;
using utils;

namespace services
{
    public class UserService
    {
        public static LoginResponse Login(LoginRequest request)
        {
            var response = Api<LoginResponse>.post("/api/collections/users/auth-with-password", JsonUtility.ToJson(request));
            return response;
        }
    }
}