mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(core): Ensure ID is a positive integer when fetching execution (#9629)
This commit is contained in:
@@ -92,3 +92,5 @@ export function rightDiff<T1, T2>(
|
||||
* in switch statements or if/else chains.
|
||||
*/
|
||||
export const assertNever = (_value: never) => {};
|
||||
|
||||
export const isPositiveInteger = (maybeInt: string) => /^[1-9]\d*$/.test(maybeInt);
|
||||
|
||||
Reference in New Issue
Block a user