ajuste de metodo
This commit is contained in:
parent
f86cd616bc
commit
059780f4c4
8 changed files with 9 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ export const usuarios_quipo_vincular = async ({
|
|||
token_produto: string
|
||||
conta: string
|
||||
vinculo: string
|
||||
codigo_usuario: string
|
||||
codigo_usuario?: string
|
||||
email: string
|
||||
}): Promise<tipoResposta<string>> => {
|
||||
const url = `${urlAutenticacao(ambiente)}/api/vinculos__criar`
|
||||
|
|
@ -35,6 +35,7 @@ export const usuarios_quipo_vincular = async ({
|
|||
return node_fetch(url, {
|
||||
headers,
|
||||
body: JSON.stringify(parametros),
|
||||
method: "POST",
|
||||
})
|
||||
.then((r) => String(r))
|
||||
.catch((e) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue