@@ -1,11 +1,6 @@
|
||||
import { apiRequest } from "@/lib/api/api-service";
|
||||
import { ApiResponse } from "@/types/api-response";
|
||||
import {
|
||||
LoginDto,
|
||||
AuthResponse,
|
||||
RegisterDto,
|
||||
RefreshTokenDto,
|
||||
} from "./types";
|
||||
import { LoginDto, AuthResponse, RegisterDto, RefreshTokenDto } from "./types";
|
||||
|
||||
const login = (data: LoginDto) => {
|
||||
return apiRequest<ApiResponse<AuthResponse>>({
|
||||
|
||||
Reference in New Issue
Block a user