Fix bug
This commit is contained in:
parent
4d4ffd70ac
commit
324a974dec
1 changed files with 9 additions and 7 deletions
|
@ -386,6 +386,7 @@ export const pack = async (
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (opts.detail) {
|
||||||
if (_note.replyId != null && _note.reply == null) {
|
if (_note.replyId != null && _note.reply == null) {
|
||||||
console.warn(`[DAMAGED DB] (missing) pkg: note -> reply :: ${_note.id} (reply ${_note.replyId})`);
|
console.warn(`[DAMAGED DB] (missing) pkg: note -> reply :: ${_note.id} (reply ${_note.replyId})`);
|
||||||
return null;
|
return null;
|
||||||
|
@ -395,6 +396,7 @@ export const pack = async (
|
||||||
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
|
||||||
|
|
||||||
if (_note.user.isCat && _note.text) {
|
if (_note.user.isCat && _note.text) {
|
||||||
|
|
Loading…
Reference in a new issue