mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 04:13:53 +01:00
category: resolve redirects while querying categories
It seems tha redirects were not happening while fetching category results. Fix the same.
This commit is contained in:
parent
3570377678
commit
a307683bee
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ interface CategoryInterface {
|
|||
* @return
|
||||
*/
|
||||
@GET(
|
||||
"w/api.php?action=query&format=json&formatversion=2&generator=allcategories&prop=categoryinfo|description|pageimages&piprop=thumbnail&pithumbsize=70",
|
||||
"w/api.php?action=query&format=json&formatversion=2&redirects=true&generator=allcategories&prop=categoryinfo|description|pageimages&piprop=thumbnail&pithumbsize=70",
|
||||
)
|
||||
fun searchCategoriesForPrefix(
|
||||
@Query("gacprefix") prefix: String?,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue