From 7f95567535fc22bb4d4b8e3c34bbb944307aa93b Mon Sep 17 00:00:00 2001 From: Etienne Noel Date: Wed, 5 Jun 2024 19:45:07 -0700 Subject: [PATCH] - Fixed what is being returned. --- packages/mysql/src/clients/mysql.client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mysql/src/clients/mysql.client.ts b/packages/mysql/src/clients/mysql.client.ts index 3d211dc9..a96b45b9 100644 --- a/packages/mysql/src/clients/mysql.client.ts +++ b/packages/mysql/src/clients/mysql.client.ts @@ -197,7 +197,7 @@ export class MysqlClient implements MysqlClientInterface { const result = await pool.query(sqlStatement, values); this.logHandler.debug("Successfully executed the SQL Statement", {sqlStatement, values, result}) - return result; + return result[0]; } catch (error) { this.logHandler.error("There was an error executing the SQL Statement", { sqlStatement,