mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-16 14:25:32 +02:00
✌️
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import db from '../../db/mongodb';
|
||||
|
||||
const collection = db.collection('apps');
|
||||
const collection = db.get('apps');
|
||||
|
||||
collection.createIndex('name_id');
|
||||
collection.createIndex('name_id_lower');
|
||||
collection.createIndex('secret');
|
||||
(collection as any).index('name_id'); // fuck type definition
|
||||
(collection as any).index('name_id_lower'); // fuck type definition
|
||||
(collection as any).index('secret'); // fuck type definition
|
||||
|
||||
export default collection;
|
||||
|
||||
Reference in New Issue
Block a user