Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heic image converter lambda #109

Merged
merged 12 commits into from
Apr 26, 2024
Merged

Conversation

CEBergin-Vivid
Copy link
Collaborator

Update to set successful confirmation of image conversion metadata field, as well as any current metadata on the file

@CEBergin-Vivid CEBergin-Vivid requested a review from dhlevi April 26, 2024 02:20
@@ -83,6 +83,32 @@ exports.handler = async (event) => {

let stats = fs.statSync("/tmp/" + fileName);
let fileSizeInBytes = stats.size;

let metadata = [];
let metadataConversionStatusName = 'WFDMConversionStatus-' + fileInfo.data.versionNumber;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remember to use const where values won't change, vs. let.

@dhlevi dhlevi merged commit 8d09580 into bcgov:main Apr 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants