mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
fix parsing (#6075)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
4244373a5d
commit
22238f55cd
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,9 @@
|
|||
package fr.free.nrw.commons.wikidata.mwapi
|
||||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
open class MwPostResponse : MwResponse() {
|
||||
@SerializedName("success")
|
||||
val successVal: Int = 0
|
||||
|
||||
fun success(result: String?): Boolean =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue