Explorar el Código

Don't require error_type in CheckpointResponse

Tulir Asokan hace 4 años
padre
commit
b0055d242e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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