This commit is contained in:
Luiz Silva 2024-10-02 13:19:19 -03:00
parent 1d3c84ff9a
commit 779ff305f0
4 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@ class ClassPilao {
}
#gerarUrl(acao: string, extraPath?: string): { rota: string; url: string } {
const rota = `${PREFIXO_PILAO}/${this.#produto}/${this.#conta}/${acao}${
const rota = `${PREFIXO_PILAO}/api/${this.#produto}/${this.#conta}/${acao}${
extraPath ? `/${extraPath}` : ""
}`
const url = `${this.baseUrlApi}${rota}`