import { api } from '../../../lib/apiClient';
import { AuthUserResponse } from '../types/api';
import { LoginFormValues } from '../types/form';

export const loginWithUsernameAndPassword = (data: LoginFormValues): Promise<AuthUserResponse> => {
    return api.post('/auth/login', data);
};
