mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Stronger typing for workflow settings (no-changelog) (#5754)
This commit is contained in:
committed by
GitHub
parent
d33a1ac1e9
commit
c9d9069c0e
@@ -393,8 +393,7 @@ export class CredentialsHelper extends ICredentialsHelper {
|
||||
}
|
||||
|
||||
if (expressionResolveValues) {
|
||||
const timezone =
|
||||
(expressionResolveValues.workflow.settings.timezone as string) || defaultTimezone;
|
||||
const timezone = expressionResolveValues.workflow.settings.timezone ?? defaultTimezone;
|
||||
|
||||
try {
|
||||
decryptedData = expressionResolveValues.workflow.expression.getParameterValue(
|
||||
|
||||
Reference in New Issue
Block a user