Migrate to tslint 5.1.0
This commit is contained in:
parent
798d1610f0
commit
b095efaee5
16 changed files with 107 additions and 95 deletions
|
@ -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 }, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue