mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Wait Node): Allow wait node to accept 0 waiting time input (#19159)
Co-authored-by: Elias Meire <elias@meire.dev>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export function validateWaitAmount(amount: unknown): amount is number {
|
||||
return typeof amount === 'number' && amount > 0;
|
||||
return typeof amount === 'number' && amount >= 0;
|
||||
}
|
||||
|
||||
export type WaitUnit = 'seconds' | 'minutes' | 'hours' | 'days';
|
||||
|
||||
Reference in New Issue
Block a user