UNPKG

pocketbase-tools

Version:

A TypeScript toolkit for PocketBase, featuring a standard service/action/types layered structure. It provides interfaces and implementations for common business logic such as users, products, company profiles, and file utilities, making it suitable for se

11 lines (10 loc) 343 B
import { loginAdmin } from "../user.auth"; export default async function testLoginAdmin() { try { const result = await loginAdmin({ email: "hnkong666@gmail.com", password: "skongroot" }); console.log("Admin login successful:", result); } catch (error) { console.error("Admin login failed:", error); } }