Unverified Commit 44081d08 authored by René Keller's avatar René Keller Committed by GitHub

fix(lib/db): type mismatch (#23107)

Fixes "Type 'string' is not assignable to type 'number'." TS warning
parent 9431439c
...@@ -6,7 +6,7 @@ export const db = mysql({ ...@@ -6,7 +6,7 @@ export const db = mysql({
database: process.env.MYSQL_DATABASE, database: process.env.MYSQL_DATABASE,
user: process.env.MYSQL_USERNAME, user: process.env.MYSQL_USERNAME,
password: process.env.MYSQL_PASSWORD, password: process.env.MYSQL_PASSWORD,
port: process.env.MYSQL_PORT, port: parseInt(process.env.MYSQL_PORT),
}, },
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment