Skip to content

Commit

Permalink
Merge pull request #709 from magieno/add-mysql-instance-profile
Browse files Browse the repository at this point in the history
- Fixed what is being returned.
  • Loading branch information
etiennenoel authored Jun 6, 2024
2 parents 1ddbbf5 + 7f95567 commit 78b9b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mysql/src/clients/mysql.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 78b9b23

Please sign in to comment.