Skip to content

Instantly share code, notes, and snippets.

@pulse00
Created October 7, 2020 15:17
Show Gist options
  • Save pulse00/02b9282b25eb2562ee7ceabfe0b363f8 to your computer and use it in GitHub Desktop.
Save pulse00/02b9282b25eb2562ee7ceabfe0b363f8 to your computer and use it in GitHub Desktop.
function createDispatchAdvice(options) {
if (options.quantity) {
logger(`Setting quantity to ${options.quantity}`);
await DispatchAdviceEnvelope.addDispatchQuantity(options.quantity);
}
// blah blah
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment