[MVPTN-80] deploy(Docker): Ajuste de API de requisição
This commit is contained in:
parent
1efb9aba94
commit
a0e76d035c
1 changed files with 1 additions and 3 deletions
|
|
@ -43,11 +43,9 @@ export default class API {
|
|||
)
|
||||
: null;
|
||||
|
||||
console.log(`${this.ApiSchema.url}${this.ApiSchema.prefix}${this.ApiSchema.endpoint}`);
|
||||
|
||||
// Realiza a requisição
|
||||
const response = await fetch(
|
||||
`${this.ApiSchema.url}${this.ApiSchema.prefix}${this.ApiSchema.endpoint}`,
|
||||
`${this.ApiSchema.prefix}${this.ApiSchema.endpoint}`,
|
||||
{
|
||||
method: _data.method,
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue