From 3e26d4da6591c455936b2a5cfb8d1185e20ea4fd Mon Sep 17 00:00:00 2001 From: Josh Moore Date: Wed, 1 Nov 2023 23:59:54 -0600 Subject: [PATCH] fix: remove unused PATHS variable (moved to other file) --- backend/data.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/backend/data.ts b/backend/data.ts index 72e2f8c0..118105f4 100644 --- a/backend/data.ts +++ b/backend/data.ts @@ -1,7 +1,4 @@ -import { AssFile, AssUser, NID, FilesSchema, UsersSchema } from 'ass'; - -import fs from 'fs-extra'; -import { path } from '@tycrek/joint'; +import { AssFile, AssUser, NID } from 'ass'; import { log } from './log'; import { UserConfig } from './UserConfig'; @@ -12,14 +9,6 @@ import { DBManager } from './sql/database'; */ type DataSector = 'files' | 'users'; -/** - * Absolute filepaths for JSON data files - */ -const PATHS = { - files: path.join('.ass-data/files.json'), - users: path.join('.ass-data/users.json') -}; - /** * database kind -> name mapping */