Skip to content

Commit

Permalink
Merge pull request #470 from bcgov/query-type-changed
Browse files Browse the repository at this point in the history
attempting to resolve 500 error
  • Loading branch information
mgtennant authored Oct 10, 2024
2 parents 7ea8bb4 + 9ba12f7 commit ab747ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/routes/v1/documents.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ async function startApiaryHiveInspectionJob(startDate, endDate) {
async function startDairyTrailerInspectionJob(licenceNumber) {
const [procedureResult] = await prisma.$transaction([
prisma.$queryRawUnsafe(
`CALL mals_app.pr_generate_print_json_dairy_farm_trailer_inspection('${licenceNumber}', NULL)`
`CALL mals_app.pr_generate_print_json_dairy_farm_trailer_inspection(${licenceNumber}, NULL)`
),
]);

Expand Down

0 comments on commit ab747ff

Please sign in to comment.