♻️ Refactored publisher creation into sheet

This commit is contained in:
2025-11-09 21:18:34 +08:00
parent eb4942e0ed
commit 1395d65b76
7 changed files with 55 additions and 49 deletions

View File

@@ -128,7 +128,13 @@ class FileUploader {
/// Completes the upload and returns the CloudFile object.
Future<SnCloudFile> completeUpload(String taskId) async {
final response = await _client.post('/drive/files/upload/complete/$taskId');
final response = await _client.post(
'/drive/files/upload/complete/$taskId',
options: Options(
sendTimeout: Duration(minutes: 1),
receiveTimeout: Duration(minutes: 1),
),
);
return SnCloudFile.fromJson(response.data);
}