This commit is contained in:
syuilo
2018-09-09 02:45:29 +09:00
parent 408118a1e8
commit 0790dd7a2c
2 changed files with 1 additions and 11 deletions

View File

@ -21,16 +21,6 @@ Note.createIndex('_files.contentType');
Note.createIndex({
createdAt: -1
});
// 後方互換性のため
Note.update({}, {
$rename: {
mediaIds: 'fileIds'
}
}, {
multi: true
});
export default Note;
export function isValidText(text: string): boolean {