mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-13 16:10:43 +01:00
refactor: topic thumbs lib to topics.thumbs
This commit is contained in:
@@ -124,7 +124,7 @@ module.exports = function (Posts) {
|
||||
}
|
||||
|
||||
if (data.thumb) {
|
||||
await topics.resizeAndUploadThumb(data);
|
||||
await topics.thumbs.resizeAndUpload(data);
|
||||
newTopicData.thumb = data.thumb;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user