Files
dognation_PT/src/api/adminAuth.ts
T

9 lines
371 B
TypeScript
Raw Normal View History

import { http } from './http'
import type { LoginResponse } from './auth'
/** 관리자 콘솔 전용 인증 API (사용자 authApi 와 분리). */
export const adminAuthApi = {
/** 개발자 로그인 — local 백엔드 전용(구글 없이 이메일로 세션 발급). */
devLogin: (email: string) => http.post<LoginResponse>('/api/auth/dev-login', { email }),
}