mirror of
https://github.com/sim1222/misskey.git
synced 2025-07-03 09:19:53 +09:00
Migrate to tslint 5.1.0
This commit is contained in:
@ -67,7 +67,7 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
|
||||
res();
|
||||
|
||||
const inc = {};
|
||||
inc['reaction_counts.' + reaction] = 1;
|
||||
inc[`reaction_counts.${reaction}`] = 1;
|
||||
|
||||
// Increment reactions count
|
||||
await Post.update({ _id: post._id }, {
|
||||
|
Reference in New Issue
Block a user