.
This commit is contained in:
parent
4eb940ef05
commit
61c9609581
5 changed files with 8 additions and 14 deletions
|
|
@ -2,7 +2,7 @@ import node_fetch from "cross-fetch"
|
|||
import type { tipoResposta } from "p-respostas"
|
||||
import { respostaComuns } from "p-respostas"
|
||||
import { z } from "zod"
|
||||
import { PREFIXO, baseUrlPilao, type zp_produto_conta } from "./variaveis"
|
||||
import { PREFIXO_PILAO, baseUrlPilao, type zp_produto_conta } from "./variaveis"
|
||||
//enviar registros para base de dados
|
||||
export const zp_deletar_registros = z.object({
|
||||
tabela: z.string(),
|
||||
|
|
@ -18,7 +18,7 @@ export const deletar_registros =
|
|||
const url = new URL(
|
||||
`${baseUrlPilao(
|
||||
emDesenvolvimento,
|
||||
)}${PREFIXO}/${Object.keys({ deletar_registros })[0]}/${produto}/${conta}`,
|
||||
)}${PREFIXO_PILAO}/${Object.keys({ deletar_registros })[0]}/${produto}/${conta}`,
|
||||
)
|
||||
const tamanhoBlocos = 1000
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue