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

This commit is contained in:
eoao
2025-10-18 22:32:00 +08:00
parent 083dc8daab
commit dad4a22356
13 changed files with 35 additions and 65 deletions

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) {