mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: configs being reset.
fix: configs not being applied correctly.
This commit is contained in:
+3
-3
@@ -64,15 +64,15 @@
|
||||
events: func.events || undefined,
|
||||
schedule: func.schedule || undefined,
|
||||
timeout: func.timeout || undefined,
|
||||
enabled: func.enabled || undefined,
|
||||
logging: func.logging || undefined,
|
||||
enabled: func.enabled ?? undefined,
|
||||
logging: func.logging ?? undefined,
|
||||
entrypoint: func.entrypoint || undefined,
|
||||
commands: func.commands || undefined,
|
||||
scopes: (func.scopes as Scopes[]) || undefined,
|
||||
installationId: func.installationId || undefined,
|
||||
providerRepositoryId: func.providerRepositoryId || undefined,
|
||||
providerBranch: func.providerBranch || undefined,
|
||||
providerSilentMode: func.providerSilentMode || undefined,
|
||||
providerSilentMode: func.providerSilentMode ?? undefined,
|
||||
providerRootDirectory: func.providerRootDirectory || undefined,
|
||||
buildSpecification: func.buildSpecification || undefined,
|
||||
runtimeSpecification: func.runtimeSpecification || undefined,
|
||||
|
||||
+3
-2
@@ -27,15 +27,16 @@
|
||||
events: func.events || undefined,
|
||||
schedule: func.schedule || undefined,
|
||||
timeout: func.timeout || undefined,
|
||||
enabled: func.enabled || undefined,
|
||||
enabled: func.enabled ?? undefined,
|
||||
logging,
|
||||
deploymentRetention: func.deploymentRetention ?? undefined,
|
||||
entrypoint: func.entrypoint || undefined,
|
||||
commands: func.commands || undefined,
|
||||
scopes: (func.scopes as Scopes[]) || undefined,
|
||||
installationId: func.installationId || undefined,
|
||||
providerRepositoryId: func.providerRepositoryId || undefined,
|
||||
providerBranch: func.providerBranch || undefined,
|
||||
providerSilentMode: func.providerSilentMode || undefined,
|
||||
providerSilentMode: func.providerSilentMode ?? undefined,
|
||||
providerRootDirectory: func.providerRootDirectory || undefined,
|
||||
buildSpecification: func.buildSpecification || undefined
|
||||
});
|
||||
|
||||
+3
-3
@@ -55,8 +55,8 @@
|
||||
siteId: site.$id,
|
||||
name: site.name,
|
||||
framework: site.framework as Framework,
|
||||
enabled: site.enabled || undefined,
|
||||
logging: site.logging || undefined,
|
||||
enabled: site.enabled ?? undefined,
|
||||
logging: site.logging ?? undefined,
|
||||
timeout: site.timeout || undefined,
|
||||
installCommand: site.installCommand || undefined,
|
||||
buildCommand: site.buildCommand || undefined,
|
||||
@@ -67,7 +67,7 @@
|
||||
installationId: site.installationId || undefined,
|
||||
providerRepositoryId: site.providerRepositoryId || undefined,
|
||||
providerBranch: site.providerBranch || undefined,
|
||||
providerSilentMode: site.providerSilentMode || undefined,
|
||||
providerSilentMode: site.providerSilentMode ?? undefined,
|
||||
providerRootDirectory: site.providerRootDirectory || undefined,
|
||||
buildSpecification: site.buildSpecification || undefined,
|
||||
runtimeSpecification: site.runtimeSpecification || undefined,
|
||||
|
||||
+3
-2
@@ -19,9 +19,10 @@
|
||||
siteId: site.$id,
|
||||
name: site.name,
|
||||
framework: site.framework as Framework,
|
||||
enabled: site?.enabled || undefined,
|
||||
enabled: site?.enabled ?? undefined,
|
||||
logging,
|
||||
timeout: site?.timeout || undefined,
|
||||
deploymentRetention: site?.deploymentRetention ?? undefined,
|
||||
installCommand: site?.installCommand || undefined,
|
||||
buildCommand: site?.buildCommand || undefined,
|
||||
startCommand: site?.startCommand || undefined,
|
||||
@@ -32,7 +33,7 @@
|
||||
installationId: site?.installationId || undefined,
|
||||
providerRepositoryId: site?.providerRepositoryId || undefined,
|
||||
providerBranch: site?.providerBranch || undefined,
|
||||
providerSilentMode: site?.providerSilentMode || undefined,
|
||||
providerSilentMode: site?.providerSilentMode ?? undefined,
|
||||
providerRootDirectory: site?.providerRootDirectory || undefined,
|
||||
buildSpecification: site?.buildSpecification || undefined
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user