mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
Clean up
This commit is contained in:
parent
912c7267fb
commit
65b0b8c42c
1 changed files with 3 additions and 1 deletions
|
@ -220,7 +220,6 @@ export const hideNote = async (packedNote: any, meId: mongo.ObjectID) => {
|
|||
packedNote.poll = null;
|
||||
packedNote.cw = null;
|
||||
packedNote.tags = [];
|
||||
packedNote.tagsLower = [];
|
||||
packedNote.geo = null;
|
||||
packedNote.isHidden = true;
|
||||
}
|
||||
|
@ -294,6 +293,9 @@ export const pack = async (
|
|||
_note.id = _note._id;
|
||||
delete _note._id;
|
||||
|
||||
delete _note.prev;
|
||||
delete _note.next;
|
||||
delete _note.tagsLower;
|
||||
delete _note._user;
|
||||
delete _note._reply;
|
||||
delete _note._renote;
|
||||
|
|
Loading…
Reference in a new issue