Skip to content

Commit a9e55d0

Browse files
committed
fix: scopes and execute
1 parent f9ceee5 commit a9e55d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,9 +299,9 @@ const initFunction = async () => {
299299
$id: functionId,
300300
name: answers.name,
301301
runtime: answers.runtime.id,
302-
execute: [],
302+
execute: ["any"],
303303
events: [],
304-
scopes: [],
304+
scopes: ["users.read"],
305305
schedule: "",
306306
timeout: 15,
307307
enabled: true,

0 commit comments

Comments
 (0)