mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 11:11:04 +01:00
chore: eslint no-var, vars-on-top
This commit is contained in:
committed by
Julian Lam
parent
b56d9e12b5
commit
dab3b23575
@@ -58,7 +58,7 @@ topicsAPI.create = async function (caller, data) {
|
||||
};
|
||||
|
||||
topicsAPI.reply = async function (caller, data) {
|
||||
var payload = {
|
||||
const payload = {
|
||||
tid: data.tid,
|
||||
uid: caller.uid,
|
||||
req: apiHelpers.buildReqObject(caller), // For IP recording
|
||||
|
||||
Reference in New Issue
Block a user