Compare commits
2 Commits
cce705c4f7
...
main
Author | SHA1 | Date | |
---|---|---|---|
20c1fd7be9 | |||
2800d2fb2e |
@@ -162,7 +162,7 @@ const advancedResults = (model, populate) => async (req, res, next) => {
|
||||
const sortBy = req.query.sort.split(',').join(' ')
|
||||
query = query.sort(sortBy)
|
||||
} else {
|
||||
query = query.sort('series title')
|
||||
query = query.sort('-createDate series title')
|
||||
}
|
||||
|
||||
// Pagination
|
||||
|
@@ -6,7 +6,7 @@ const steamScraper = async (resData) => {
|
||||
if (steamId === null || steamId === '') {
|
||||
return 'Please enter a valid Steam Id'
|
||||
}
|
||||
const steamApiUrl = `https://store.steampowered.com/api/appdetails/?appids=${steamId}`
|
||||
const steamApiUrl = `https://store.steampowered.com/api/appdetails/?appids=${steamId}&l=english`
|
||||
const steamRatingApiUrl = `https://store.steampowered.com/appreviews/${steamId}?json=1`
|
||||
const steamWebUrl = `https://store.steampowered.com/app/${steamId}`
|
||||
try {
|
||||
|
Reference in New Issue
Block a user