1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix: console events disabled in production

This commit is contained in:
2022-07-18 17:21:34 +02:00
parent ec75f9546a
commit 0b1aa3dd29
4 changed files with 4 additions and 4 deletions

View File

@ -1536,7 +1536,7 @@ export class MySQLClient extends AntaresCore {
}
async raw<T = antares.QueryResult> (sql: string, args?: antares.QueryParams) {
if (process.env.NODE_ENV === 'development') this._logger({ cUid: this._cUid, sql });
this._logger({ cUid: this._cUid, sql });
args = {
nest: false,