mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 09:49:05 +01:00
9 lines
274 B
TypeScript
9 lines
274 B
TypeScript
import db from '../../../db/mongodb';
|
|
|
|
const collection = db.get('access_tokens');
|
|
|
|
(collection as any).createIndex('token'); // fuck type definition
|
|
(collection as any).createIndex('hash'); // fuck type definition
|
|
|
|
export default collection as any; // fuck type definition
|