mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-22 20:46:38 +08:00
fix(core): cannot download comment files (#13136)
#### PR Dependency Tree * **PR #13136** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a timeout of 3 minutes to comment attachment uploads, improving reliability for long uploads. * **Refactor** * Unified the file download process to always use blob conversion, ensuring consistent behavior for all URLs. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -337,6 +337,7 @@ export class DocCommentStore extends Entity<{
|
||||
}
|
||||
|
||||
const res = await graphql.gql({
|
||||
timeout: 180_000,
|
||||
query: uploadCommentAttachmentMutation,
|
||||
variables: {
|
||||
workspaceId: this.currentWorkspaceId,
|
||||
|
||||
Reference in New Issue
Block a user