mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-24 09:23:08 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
424625846e
2 changed files with 1 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "8.33.0",
|
"version": "8.33.1",
|
||||||
"clientVersion": "1.0.9497",
|
"clientVersion": "1.0.9497",
|
||||||
"codename": "nighthike",
|
"codename": "nighthike",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
|
|
|
@ -21,16 +21,6 @@ Note.createIndex('_files.contentType');
|
||||||
Note.createIndex({
|
Note.createIndex({
|
||||||
createdAt: -1
|
createdAt: -1
|
||||||
});
|
});
|
||||||
|
|
||||||
// 後方互換性のため
|
|
||||||
Note.update({}, {
|
|
||||||
$rename: {
|
|
||||||
mediaIds: 'fileIds'
|
|
||||||
}
|
|
||||||
}, {
|
|
||||||
multi: true
|
|
||||||
});
|
|
||||||
|
|
||||||
export default Note;
|
export default Note;
|
||||||
|
|
||||||
export function isValidText(text: string): boolean {
|
export function isValidText(text: string): boolean {
|
||||||
|
|
Loading…
Reference in a new issue