update tsconfig.json

This commit is contained in:
undefined committed 2020-08-20 09:04:42 +08:00
1 parent 71de49fc49
commit fbd8796b8d
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ async function get(ctx: Context) {
async function post(ctx: Context) {
const {
host, port, name, username, password,
// @ts-expect-error
// @ts-ignore
} = ctx.request.body;
let mongourl = 'mongodb://';
if (username) mongourl += `${username}:${password}@`;