Go back to expecting moat-bridges after captcha submission

This commit is contained in:
Miguel Jacq 2025-02-19 07:04:45 +11:00
parent aebab1ef90
commit 92dbd7e442
No known key found for this signature in database
GPG Key ID: 59B3F0C24135C6A9

View File

@ -289,7 +289,7 @@ class MoatThread(QtCore.QThread):
self.bridgedb_error.emit()
return
if moat_res["data"][0]["type"] != "moat-challenge":
self.common.log("MoatThread", "run", f"type != moat-challange")
self.common.log("MoatThread", "run", f"type != moat-challenge")
self.bridgedb_error.emit()
return
@ -351,8 +351,8 @@ class MoatThread(QtCore.QThread):
self.captcha_error.emit(errors)
return
if moat_res["data"][0]["type"] != "moat-challenge":
self.common.log("MoatThread", "run", f"type != moat-challenge")
if moat_res["data"][0]["type"] != "moat-bridges":
self.common.log("MoatThread", "run", f"type != moat-bridges")
self.bridgedb_error.emit()
return