Skip to content

Commit 22238f5

Browse files
fix parsing (#6075)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
1 parent 4244373 commit 22238f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/src/main/java/fr/free/nrw/commons/wikidata/mwapi/MwPostResponse.kt

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
package fr.free.nrw.commons.wikidata.mwapi
22

3+
import com.google.gson.annotations.SerializedName
4+
35
open class MwPostResponse : MwResponse() {
6+
@SerializedName("success")
47
val successVal: Int = 0
58

69
fun success(result: String?): Boolean =

0 commit comments

Comments
 (0)