Skip to content

Commit

Permalink
fix: remove unused PATHS variable (moved to other file)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Moore committed Nov 2, 2023
1 parent fd578d8 commit 3e26d4d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions backend/data.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -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
*/
Expand Down

0 comments on commit 3e26d4d

Please sign in to comment.