fix task v2 block totp issue (#2214)
Some checks failed
Run tests and pre-commit / test (push) Failing after 19s
Run tests and pre-commit / fe-lint-build (push) Successful in 1m38s
Publish Fern Docs / run (push) Failing after 1m6s
Sync to skyvern-cloud / sync (push) Failing after 4s

This commit is contained in:
Shuchang Zheng 2025-04-22 23:25:37 +08:00 committed by GitHub
parent de67f69252
commit ce6d6c51e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2469,6 +2469,8 @@ class TaskV2Block(Block):
user_url=self.url,
parent_workflow_run_id=workflow_run_id,
proxy_location=workflow_run.proxy_location,
totp_identifier=self.totp_identifier,
totp_verification_url=self.totp_verification_url,
)
await app.DATABASE.update_task_v2(
task_v2.observer_cruise_id, status=TaskV2Status.queued, organization_id=organization_id