fix(core): Set up OAuth2 cred test (#6960)

https://linear.app/n8n/issue/PAY-728
This commit is contained in:
Iván Ovejero
2023-08-18 16:18:44 +02:00
committed by GitHub
parent 052dd7cc9d
commit 4fc69b776c
4 changed files with 39 additions and 4 deletions

View File

@@ -97,3 +97,7 @@ export function isStringArray(value: unknown): value is string[] {
}
export const isIntegerString = (value: string) => /^\d+$/.test(value);
export function isObjectLiteral(item: unknown): item is { [key: string]: string } {
return typeof item === 'object' && item !== null && !Array.isArray(item);
}