Skip to content

Commit f0d3b23

Browse files
committed
Fix deploy bug
1 parent 4a3cf9a commit f0d3b23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cli/lib/commands/deploy.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ const deployFunction = async () => {
167167
functionId: func['$id'],
168168
name: func.name,
169169
execute: func.execute,
170-
vars: response.vars,
170+
vars: JSON.stringify(response.vars),
171171
events: func.events,
172172
schedule: func.schedule,
173173
timeout: func.timeout,
@@ -181,7 +181,7 @@ const deployFunction = async () => {
181181
name: func.name,
182182
runtime: func.runtime,
183183
execute: func.execute,
184-
vars: func.vars,
184+
vars: JSON.stringify(func.vars),
185185
events: func.events,
186186
schedule: func.schedule,
187187
timeout: func.timeout,

0 commit comments

Comments
 (0)