Browse Source

Don't require error_type in CheckpointResponse

Tulir Asokan 4 years ago
parent
commit
b0055d242e
1 changed files with 1 additions and 1 deletions
  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