Skip to content

Automate browser based workflows with AI

update and fix totp schema (#785)

Shuchang Zheng281977f39525
diff --git a/skyvern/forge/sdk/schemas/totp_codes.py b/skyvern/forge/sdk/schemas/totp_codes.py
index 3ca1dd366..392fb34f2 100644
--- a/skyvern/forge/sdk/schemas/totp_codes.py
+++ b/skyvern/forge/sdk/schemas/totp_codes.py
@@ -7,7 +7,6 @@ class TOTPCodeBase(BaseModel):
model_config = ConfigDict(from_attributes=True)
totp_identifier: str | None = None
- organization_id: str | None = None
task_id: str | None = None
workflow_id: str | None = None
source: str | None = None
@@ -18,12 +17,12 @@ class TOTPCodeBase(BaseModel):
class TOTPCodeCreate(TOTPCodeBase):
totp_identifier: str
- organization_id: str
content: str
class TOTPCode(TOTPCodeCreate):
totp_code_id: str
code: str
+ organization_id: str
created_at: datetime
modified_at: datetime