.
This commit is contained in:
parent
d5bfb9a090
commit
a273ac97d2
13 changed files with 23 additions and 15 deletions
|
|
@ -12,9 +12,11 @@ export const zp_deletar_registros = z.object({
|
|||
export const deletar_registros =
|
||||
({ conta, produto, emDesenvolvimento }: z.infer<typeof zp_produto_conta>) =>
|
||||
async ({
|
||||
codigos,
|
||||
codigos: codigos_entrada,
|
||||
tabela,
|
||||
}: z.infer<typeof zp_deletar_registros>): Promise<tipoResposta<true>> => {
|
||||
const codigos = [...codigos_entrada]
|
||||
|
||||
const url = new URL(
|
||||
`${
|
||||
urlPilao(emDesenvolvimento).api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue