mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
refactor: async/await flags
This commit is contained in:
@@ -12,7 +12,7 @@ const plugins = require('../plugins');
|
||||
|
||||
module.exports = function (Topics) {
|
||||
Topics.getSortedTopics = async function (params) {
|
||||
var data = {
|
||||
const data = {
|
||||
nextStart: 0,
|
||||
topicCount: 0,
|
||||
topics: [],
|
||||
|
||||
Reference in New Issue
Block a user