fix: references to since-removed Topics.thumbs.resizeAndUpload

This commit is contained in:
Julian Lam
2020-12-03 15:11:47 -05:00
parent 90497e3ef5
commit 1f0c1cd229
2 changed files with 0 additions and 6 deletions

View File

@@ -123,11 +123,6 @@ module.exports = function (Posts) {
newTopicData.slug = tid + '/' + (slugify(title) || 'topic');
}
if (data.thumb) {
await topics.thumbs.resizeAndUpload(data);
newTopicData.thumb = data.thumb;
}
data.tags = data.tags || [];
if (data.tags.length) {