diff --git a/src/helpers/mysql.ts b/src/helpers/mysql.ts index 7763e74..44003af 100644 --- a/src/helpers/mysql.ts +++ b/src/helpers/mysql.ts @@ -18,7 +18,6 @@ config.acquireTimeout = 60e3; config.timeout = 60e3; config.charset = 'utf8mb4'; bluebird.promisifyAll([Pool, Connection]); - const db = mysql.createPool(config); export default db; diff --git a/src/helpers/utils.ts b/src/helpers/utils.ts index 4502767..dcc054e 100644 --- a/src/helpers/utils.ts +++ b/src/helpers/utils.ts @@ -22,7 +22,6 @@ export async function getSubscribers(space) { address: true } }; - try { const result = await snapshot.utils.subgraphRequest( `${HUB_URL}/graphql`,