kidshift-skills/lambda/service/AuthService.js

13 lines
483 B
JavaScript
Raw Normal View History

2024-07-16 23:25:15 +00:00
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const api_1 = __importDefault(require("../api"));
class AuthService {
async login(loginCode) {
return await api_1.default.post('/parent/auth/login', { code: loginCode });
}
}
exports.default = new AuthService();
//# sourceMappingURL=AuthService.js.map