Data Request API helper #10

Merged
Oliver merged 94 commits from feat/data-requests into main 2025-11-22 02:51:15 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 022b6c5b31 - Show all commits

View file

@ -43,11 +43,10 @@ async function main() {
await addReleaseAsset(release.data.id, `system.json`); await addReleaseAsset(release.data.id, `system.json`);
} catch (e) { } catch (e) {
console.error(`Failed to add assets to the release`); console.error(`Failed to add assets to the release`);
console.error(e)
process.exit(1); process.exit(1);
Oliver marked this conversation as resolved Outdated

Remove console error now

Remove console error now
}; };
console.log(`Release created, and files uploaded successfully!`); console.log(`Release created`);
}; };
Oliver marked this conversation as resolved Outdated

Remove bit about file uploads

Remove bit about file uploads
main(); main();

View file

@ -57,9 +57,8 @@ async function main() {
try { try {
const response = await s3Client.send(new PutObjectCommand(params)); const response = await s3Client.send(new PutObjectCommand(params));
console.log("Upload successful"); console.log("Upload successful");
console.log(response);
} catch (err) { } catch (err) {
Oliver marked this conversation as resolved

Remove log

Remove log
console.error("Error", err); console.error("Upload to s3 failed");
}; };
Oliver marked this conversation as resolved

Remove inclusion of err

Remove inclusion of `err`
}; };