1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-02 16:45:54 +02:00

Implement featured note API

This commit is contained in:
syuilo
2018-10-25 07:04:15 +09:00
parent 407467a236
commit 380f5a972c
4 changed files with 65 additions and 8 deletions

View File

@@ -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
}
});
}