kidshift-skills/lambda/service/MetaService.js

16 lines
523 B
JavaScript
Raw Normal View History

2024-07-16 22:25:27 +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 MetaService {
async getMeta() {
return await api_1.default.get('/meta');
}
async getPing() {
return await api_1.default.get('/meta/ping');
}
}
exports.default = new MetaService();
//# sourceMappingURL=MetaService.js.map