mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-09 00:39:20 +09:00
9 lines
271 B
TypeScript
9 lines
271 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
|