mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-04 01:59:36 +00:00
Compare commits
2 commits
8758c62ae2
...
d8e272e091
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d8e272e091 | ||
|
|
3e9ca51088 |
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ class SearchController {
|
|||
try {
|
||||
const query = req.query
|
||||
const asin = getQueryParamAsString(query, 'asin', '', true)
|
||||
const region = getQueryParamAsString(req.query.region, 'us').toLowerCase()
|
||||
const region = getQueryParamAsString(query, 'region', 'us').toLowerCase()
|
||||
|
||||
if (!isValidASIN(asin.toUpperCase())) throw new ValidationError('asin', 'is invalid')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue