We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab94ded commit bb33308Copy full SHA for bb33308
src/minio/minio.ts
@@ -73,7 +73,7 @@ export class MinioUtils {
73
}
74
75
const durationSeconds = minioContext?.stsToken?.expiration;
76
- //提前三分钟过期
+ // 提前三分钟过期
77
const durationMills = durationSeconds ? (durationSeconds - 180) * 1000 : 0;
78
79
if (minioContext.stsToken === undefined || (minioContext.tokenTime + durationMills) <= Date.now().valueOf()) {
@@ -158,7 +158,7 @@ export class MinioUtils {
158
159
const {response, data } = r;
160
if (!r.response.ok) {
161
- return { data: data as any, response: response }
+ return { data: data as any, response }
162
163
164
const { stsToken, config } = r.data;
0 commit comments