mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 22:29:28 +09:00
Fix bug
This commit is contained in:
parent
4d4ffd70ac
commit
324a974dec
@ -386,14 +386,16 @@ export const pack = async (
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_note.replyId != null && _note.reply == null) {
|
if (opts.detail) {
|
||||||
console.warn(`[DAMAGED DB] (missing) pkg: note -> reply :: ${_note.id} (reply ${_note.replyId})`);
|
if (_note.replyId != null && _note.reply == null) {
|
||||||
return null;
|
console.warn(`[DAMAGED DB] (missing) pkg: note -> reply :: ${_note.id} (reply ${_note.replyId})`);
|
||||||
}
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
if (_note.renoteId != null && _note.renote == null) {
|
if (_note.renoteId != null && _note.renote == null) {
|
||||||
console.warn(`[DAMAGED DB] (missing) pkg: note -> renote :: ${_note.id} (renote ${_note.renoteId})`);
|
console.warn(`[DAMAGED DB] (missing) pkg: note -> renote :: ${_note.id} (renote ${_note.renoteId})`);
|
||||||
return null;
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user