From 22edab7ce1baadfa507e718840b27e8e0cf7a952 Mon Sep 17 00:00:00 2001 From: toast-ts <96593068+toast-ts@users.noreply.github.com> Date: Tue, 3 Oct 2023 10:04:04 +1100 Subject: [PATCH] Remove unused import --- src/funcs/CacheServer.ts | 1 - src/funcs/DatabaseServer.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/funcs/CacheServer.ts b/src/funcs/CacheServer.ts index 9c450c8..a9d51c9 100644 --- a/src/funcs/CacheServer.ts +++ b/src/funcs/CacheServer.ts @@ -1,7 +1,6 @@ import {createClient, ErrorReply} from 'redis'; import Logger from '../helpers/Logger.js'; import {readFileSync} from 'node:fs'; -import {promisify} from 'node:util'; import {Tokens} from '../typings/interfaces'; const tokens:Tokens = JSON.parse(readFileSync('src/tokens.json', 'utf-8')); diff --git a/src/funcs/DatabaseServer.ts b/src/funcs/DatabaseServer.ts index 63ee3c0..e131aa7 100644 --- a/src/funcs/DatabaseServer.ts +++ b/src/funcs/DatabaseServer.ts @@ -1,6 +1,5 @@ import mongoose from 'mongoose'; import Logger from '../helpers/Logger.js'; -import CacheServer from './CacheServer.js'; import {readFileSync} from 'node:fs'; import {Tokens} from '../typings/interfaces'; const tokens:Tokens = JSON.parse(readFileSync('src/tokens.json', 'utf-8'));