Node.js based forum software built for the modern web
refactor: use template string
Barış Soner Uşaklı35760d9f4274
diff --git a/src/rewards/index.js b/src/rewards/index.jsindex 0c068ebc57..e7c85d5898 100644--- a/src/rewards/index.js+++ b/src/rewards/index.js@@ -25,7 +25,7 @@ rewards.checkConditionAndRewardUser = async function (params) {/* eslint-disable no-await-in-loop */const count = await db.incrObjectField('locks', lockValue);if (count > 1) {- winston.warn('Reward lock already exists for uid %d and reward %s, skipping', uid, reward.id);+ winston.warn(`Reward lock already exists for uid ${uid} and reward ${reward.id}, skipping`);} else {try {const canClaim = await isClaimable(uid, reward);