Implement featured note API
This commit is contained in:
@ -314,7 +314,8 @@ async function renderActivity(data: Option, note: INote) {
|
||||
function incRenoteCount(renote: INote) {
|
||||
Note.update({ _id: renote._id }, {
|
||||
$inc: {
|
||||
renoteCount: 1
|
||||
renoteCount: 1,
|
||||
score: 1
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user