[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-05-14 09:01:43 +00:00
committed by GitHub
parent 6880c621ec
commit 356c1a21b9
2 changed files with 3 additions and 3 deletions

View File

@ -11596,6 +11596,7 @@ Request payload for bulk downloading documents as a zip archive.
| code | string | | Yes |
| email | string | | Yes |
| language | | | No |
| timezone | | | No |
| token | string | | Yes |
#### EmailPayload
@ -11611,6 +11612,7 @@ Request payload for bulk downloading documents as a zip archive.
| ---- | ---- | ----------- | -------- |
| new_password | string | | Yes |
| password_confirm | string | | Yes |
| timezone | | | No |
| token | string | | Yes |
#### EmailRegisterSendPayload

View File

@ -119,9 +119,7 @@ class TestOAuthLogin:
with app.test_request_context("/auth/oauth/github?timezone=Asia/Shanghai"):
resource.get("github")
mock_oauth_provider.get_authorization_url.assert_called_once_with(
invite_token=None, timezone="Asia/Shanghai"
)
mock_oauth_provider.get_authorization_url.assert_called_once_with(invite_token=None, timezone="Asia/Shanghai")
mock_redirect.assert_called_once_with("https://github.com/login/oauth/authorize?...")
@pytest.mark.parametrize(