ajuste de libs

This commit is contained in:
Luiz H. R. Silva 2024-06-26 10:56:40 -03:00
parent caf3f59453
commit 547f693652
22 changed files with 236 additions and 306 deletions

View file

@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
import { urlAutenticacao } from "./_urlAutenticacao";
import node_fetch from "cross-fetch";
/** faz a validação do token */
export const validarToken = ({ ambiente, post, }) => __awaiter(void 0, void 0, void 0, function* () {
export const validarToken = (_a) => __awaiter(void 0, [_a], void 0, function* ({ ambiente, post, }) {
const url = `${urlAutenticacao(ambiente)}/api/validar_token`;
try {
const resposta = yield node_fetch(url, {