diff --git a/example_scripts/get_newest_file_from_partner_execution.js b/example_scripts/get_newest_file_from_partner_execution.js index dcccbdf..4403073 100644 --- a/example_scripts/get_newest_file_from_partner_execution.js +++ b/example_scripts/get_newest_file_from_partner_execution.js @@ -4,6 +4,9 @@ // Uses: executionSearchByPartner, listExecutionFiles, getExecutionFile // Requires the async IIFE wrapper pattern. +; //without this semicolon, javascript will not be able to parse the parentheses below +//you will get: (intermediate value)(...) is not a function + (async () => { // 1. Search for executions with the "EXAMPLETAG" data tag const results = await executionSearchByPartner('YOUR-PARTNER-UUID', {