修复发送成功无法记录联系人

This commit is contained in:
eoao
2025-10-18 22:32:00 +08:00
parent 7042302e2f
commit a42e8fce8e
13 changed files with 35 additions and 65 deletions
+2 -2
View File
@@ -10,9 +10,9 @@ const r2Service = {
}
const setting = await settingService.query(c);
const { bucket, region, endpoint, s3AccessKey, s3SecretKey } = setting;
const { bucket, endpoint, s3AccessKey, s3SecretKey } = setting;
return !!(bucket && region && endpoint && s3AccessKey && s3SecretKey);
return !!(bucket && endpoint && s3AccessKey && s3SecretKey);
},
async putObj(c, key, content, metadata) {