From 9cc81771f7bd9d8a095656eb7a9de65c26e975dd Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 29 Nov 2020 15:18:27 -0600 Subject: [PATCH] added missing comma to pg query --- api/src/ticket/ticket.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/ticket/ticket.service.ts b/api/src/ticket/ticket.service.ts index 12e9304..64c80e0 100644 --- a/api/src/ticket/ticket.service.ts +++ b/api/src/ticket/ticket.service.ts @@ -171,7 +171,7 @@ export class TicketService { const query: QueryConfig = { name: 'insert_device', text: - 'INSERT INTO device(ticket_id, manufacturer, model, operating_system, operating_system_version, component) VALUES ($1, $2, $3, $4, $5 $6) RETURNING *', + 'INSERT INTO device(ticket_id, manufacturer, model, operating_system, operating_system_version, component) VALUES ($1, $2, $3, $4, $5, $6) RETURNING *', values: [ ticket_id, manufacturer,