Преглед изворни кода

Don't require error_type in CheckpointResponse

Tulir Asokan пре 4 година
родитељ
комит
b0055d242e
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mauigpapi/types/error.py

+ 1 - 1
mauigpapi/types/error.py

@@ -48,8 +48,8 @@ class CheckpointChallenge(SerializableAttrs['CheckpointChallenge']):
 class CheckpointResponse(SerializableAttrs['CheckpointResponse']):
     message: str  # challenge_required
     status: str  # fail
-    error_type: str
     challenge: CheckpointChallenge
+    error_type: Optional[str] = None
 
 
 @dataclass