(20241204) Fixing alerts bug.
This commit is contained in:
@@ -73,8 +73,10 @@ REGEX_SESSION_TOKEN = r"^[a-f0-9]{8}-[a-f0-9]{4}-[1-5][a-f0-9]{3}-[89ab][a-f0-9]
|
|||||||
|
|
||||||
class ChatAlertRequestHeaders(BaseModel):
|
class ChatAlertRequestHeaders(BaseModel):
|
||||||
|
|
||||||
sessionToken: str | None = Field(
|
sessionToken: str = Field(
|
||||||
description = "the session token of the user who is requesting the service",
|
description = "the session token of the user who is requesting the service",
|
||||||
|
pattern = REGEX_SESSION_TOKEN,
|
||||||
|
default = None,
|
||||||
frozen = True,
|
frozen = True,
|
||||||
alias = "X-Session-Token"
|
alias = "X-Session-Token"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user