Refactoring
This commit is contained in:
parent
cd12bb33a5
commit
ba0e57396d
12 changed files with 667 additions and 764 deletions
|
@ -6,7 +6,7 @@ import pack from '../../remote/activitypub/renderer';
|
|||
import { deliver } from '../../queue';
|
||||
import Following from '../../models/following';
|
||||
import renderTombstone from '../../remote/activitypub/renderer/tombstone';
|
||||
import { updateNoteStats } from '../update-chart';
|
||||
import { coreChart } from '../stats';
|
||||
import config from '../../config';
|
||||
import NoteUnread from '../../models/note-unread';
|
||||
import read from './read';
|
||||
|
@ -63,5 +63,5 @@ export default async function(user: IUser, note: INote) {
|
|||
//#endregion
|
||||
|
||||
// 統計を更新
|
||||
updateNoteStats(note, false);
|
||||
coreChart.updateNoteStats(note, false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue