Skip to content

Commit

Permalink
Update mysql-connector.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aiko-Suzuki authored Apr 6, 2021
1 parent 3bb10d1 commit 4951232
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/connectors/mysql-connector.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface MySQLOptions extends ConnectorOptions {
username: string;
password: string;
port?: number;
charset? : string;
charset?: string;
}

export class MySQLConnector implements Connector {
Expand Down Expand Up @@ -39,7 +39,7 @@ export class MySQLConnector implements Connector {
db: this._options.database,
password: this._options.password,
port: this._options.port ?? 3306,
charset : this._options.charset ?? "utf8",
charset: this._options.charset ?? "utf8",
});

this._connected = true;
Expand Down

0 comments on commit 4951232

Please sign in to comment.