mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: function settings
This commit is contained in:
+3
-1
@@ -127,7 +127,9 @@
|
||||
id || ID.unique(),
|
||||
name,
|
||||
runtime as Runtime,
|
||||
data.template.permissions?.length ? data.template.permissions : undefined,
|
||||
execute && data.template.permissions?.length
|
||||
? data.template.permissions
|
||||
: undefined,
|
||||
data.template.events?.length ? data.template.events : undefined,
|
||||
data.template.cron || undefined,
|
||||
data.template.timeout ? data.template.timeout : undefined,
|
||||
|
||||
+4
-1
@@ -43,7 +43,8 @@
|
||||
func.providerRepositoryId || undefined,
|
||||
func.providerBranch || undefined,
|
||||
func.providerSilentMode || undefined,
|
||||
func.providerRootDirectory || undefined
|
||||
func.providerRootDirectory || undefined,
|
||||
specification || undefined
|
||||
);
|
||||
await invalidate(Dependencies.FUNCTION);
|
||||
addNotification({
|
||||
@@ -65,6 +66,8 @@
|
||||
value: spec.slug,
|
||||
disabled: !spec.enabled
|
||||
}));
|
||||
|
||||
$: console.log(specification);
|
||||
</script>
|
||||
|
||||
<Form onSubmit={updateLogging}>
|
||||
|
||||
Reference in New Issue
Block a user