Skip to content

Commit

Permalink
fix parsing (#6075)
Browse files Browse the repository at this point in the history
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
  • Loading branch information
parneet-guraya authored Dec 26, 2024
1 parent 4244373 commit 22238f5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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 =
Expand Down

0 comments on commit 22238f5

Please # to comment.