Skip to content

Commit f9a5ba6

Browse files
committed
bugfix for rss
1 parent 2d300dc commit f9a5ba6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

caching/cachePopularUploads.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async function getPopularUploads(){
3737
};
3838

3939
const selectString = 'rating title views checkedViews uploader fileType thumbnailUrl ' +
40-
'uploadUrl uniqueTag customThumbnailUrl fileExtension thumbnails reacts uncurated category subcategory';
40+
'uploadUrl uniqueTag customThumbnailUrl fileExtension thumbnails reacts uncurated category subcategory description';
4141

4242
let popularUploads = await Upload.find(searchQuery).select(selectString).populate('uploader reacts')
4343
.lean();

caching/cacheRecentUploads.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function getRecentUploads(){
3838
};
3939

4040
const selectString = 'rating title views uploader fileType thumbnailUrl ' +
41-
'uploadUrl uniqueTag customThumbnailUrl fileExtension thumbnails reacts uncurated category subcategory createdAt';
41+
'uploadUrl uniqueTag customThumbnailUrl fileExtension thumbnails reacts uncurated category subcategory createdAt description';
4242

4343
let recentUploads = await Upload.find(searchQuery).select(selectString).populate('uploader reacts')
4444
.sort({ createdAt : - 1 })

0 commit comments

Comments
 (0)