mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-29 20:36:43 -06:00
8 lines
271 B
TypeScript
8 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
|