From 93b86b38b2dd6c9003c970a0aa58e106f3ac3a81 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 26 Sep 2025 10:57:37 +0100 Subject: [PATCH 1/2] fix models for deeplink on wipe data is empty --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index 5cbafa9..59d800e 100644 --- a/models.py +++ b/models.py @@ -74,5 +74,5 @@ class Refund(BaseModel): class UIDPost(BaseModel): - UID: str = Field(description="The UID of the card.") - LNURLW: str = Field(description="The LNURLW of the card.") + UID: str = Field(None, description="The UID of the card.") + LNURLW: str = Field(None, description="The LNURLW of the card.") From e48a73f5264ee85f66211338ee6c159edade11ed Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 26 Sep 2025 11:00:34 +0100 Subject: [PATCH 2/2] fix optional str --- models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models.py b/models.py index 59d800e..0856594 100644 --- a/models.py +++ b/models.py @@ -74,5 +74,5 @@ class Refund(BaseModel): class UIDPost(BaseModel): - UID: str = Field(None, description="The UID of the card.") - LNURLW: str = Field(None, description="The LNURLW of the card.") + UID: str | None = Field(None, description="The UID of the card.") + LNURLW: str | None = Field(None, description="The LNURLW of the card.")