See this topic for breaking changes in 1.19.0 https://community.nodebb.org/post/86172. You can rename middleware.authenticateOrGuest to middleware.authenticateRequest
How can i get the content of a topic?
Solved
Plugin Development
-
How can i get the content of a topic?
plugin.getTopic = function(data,callback){ if (!data || !data.postData || !data.postData.content) { winston.log('info', data); winston.log('info', "No data"); return callback(null, data); }
}
But i can't get the content of the topic using topic.postData.
Anyway, Do you know of any good ide that can scan the source code and give nice auto completion of the javascript objects. I am using sublime text.