79362568

Date: 2025-01-16 17:39:18
Score: 1.5
Natty:
Report link
let jwtSecret = await pm.vault.get("jwtSecret");

Taken from...

https://github.com/postmanlabs/postman-app-support/issues/12864

You must add the await operator before each pm.vault method. Without the operator, the method won't run

console.log(await pm.vault.get("jwtSecret"));
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mikee