Skip to content

Commit

Permalink
Fix: mysql2 라이브러리의 쿼리문 사용 시 promise 를 반환하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
pp449 committed Nov 4, 2023
1 parent 8b27208 commit ff2bd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import env from '@config';
import mysql from 'mysql2';
import mysql from 'mysql2/promise';

let DBHost;

Expand Down

0 comments on commit ff2bd93

Please sign in to comment.