2
0

🚸 (setVariable) Rename Today setVar type to Now

This commit is contained in:
Baptiste Arnaud
2023-08-07 14:32:30 +02:00
parent 037d4ce345
commit 4d3f67c752
5 changed files with 72 additions and 37 deletions

View File

@@ -76,6 +76,7 @@ const getExpressionToEvaluate =
(resultId: string | undefined) =>
(options: SetVariableBlock['options']): string | null => {
switch (options.type) {
case 'Now':
case 'Today':
return 'new Date().toISOString()'
case 'Tomorrow': {