Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Fix typo, rename cuttentTime to currentTime (#3053)

Bart Kerkvliete77eef153206
diff --git a/packages/hoppscotch-common/src/helpers/preRequestScriptSnippets.ts b/packages/hoppscotch-common/src/helpers/preRequestScriptSnippets.ts
index 708ac37e4..2e899a738 100644
--- a/packages/hoppscotch-common/src/helpers/preRequestScriptSnippets.ts
+++ b/packages/hoppscotch-common/src/helpers/preRequestScriptSnippets.ts
@@ -7,8 +7,8 @@ pw.env.set("variable", "value");`,
{
name: "Environment: Set timestamp variable",
script: `\n\n// Set timestamp variable
-const cuttentTime = Date.now();
-pw.env.set("timestamp", cuttentTime.toString());`,
+const currentTime = Date.now();
+pw.env.set("timestamp", currentTime.toString());`,
},
{
name: "Environment: Set random number variable",