Browse Source

fix: não dá pra user object shorthand porque paciente_convenio não tem insertedData, mas sim paciente_id

master
Henrique-Sousa 2 weeks ago
parent
commit
6e50123893
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      server/services/pacientes/post.js

+ 1
- 1
server/services/pacientes/post.js View File

@ -47,7 +47,7 @@ for (const convenio_uid of convenios) {
_db.insertIfNotExists(
"paciente_convenio",
{ insertedData, convenio_id }
{ "paciente_id": insertedData, convenio_id }
);
}


Loading…
Cancel
Save