(20241218) No tags sent (payment request and sms sending) fixed.

This commit is contained in:
2024-12-18 15:00:02 +05:30
parent f93c09b014
commit 17d9e6f45a
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -190,7 +190,8 @@ class PGPaymentRequestData(BaseModel):
tags: List[Any] | None = Field(
description = "any no. of tags to apply to this payment record to make search and filtering easy later",
default = None
default = None,
validate_default = True
)
# ┏┓ ┏•
+2 -2
View File
@@ -177,9 +177,9 @@ class SMSSendRequestHeaders(BaseModel):
class SMSSendRequestData(BaseModel):
tokenKey: ObjectId = Field(description = "the auth token to use to send this message")
tokenKey: ObjectId
message: List[NimbusSMSIndiaMessage] | List[SavvyBulkSMSKenyaMessage]
tags: List[Any] | None
tags: List[Any] | None = Field(default = None, validate_default = True)
# ┏┓ ┏•
# ┃ ┏┓┏┓╋┓┏┓