未验证 提交 44081d08 编写于 作者: R René Keller 提交者: GitHub

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

Fixes "Type 'string' is not assignable to type 'number'." TS warning
上级 9431439c
......@@ -6,7 +6,7 @@ export const db = mysql({
database: process.env.MYSQL_DATABASE,
user: process.env.MYSQL_USERNAME,
password: process.env.MYSQL_PASSWORD,
port: process.env.MYSQL_PORT,
port: parseInt(process.env.MYSQL_PORT),
},
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册