fix parsing

Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parneet-guraya 2024-12-25 01:39:55 +05:30
parent 86cdf96f3d
commit d6718a772a
No known key found for this signature in database
GPG key ID: 63B807C4B2A9064B

View file

@ -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 =