Parcourir la source

Fix challenge response type again

Tulir Asokan il y a 4 ans
Parent
commit
aec7ed94c2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      mauigpapi/types/challenge.py

+ 1 - 1
mauigpapi/types/challenge.py

@@ -43,5 +43,5 @@ class ChallengeStateResponse(SerializableAttrs['ChallengeStateResponse']):
     user_id: int
     nonce_code: str
     # TODO enum?
-    action: str
+    action: Optional[str] = None
     status: str