fix(cli): Account for unparseable string in JSON key migration (#3927)
⚡ Account for unparseable string in JSON key migration
This commit is contained in:
@@ -5,7 +5,7 @@ export namespace PinData {
|
||||
|
||||
export type New = { [nodeName: string]: INodeExecutionData[] };
|
||||
|
||||
export type FetchedWorkflow = { id: number; pinData: string | object };
|
||||
export type FetchedWorkflow = { id: number; pinData: string | Old };
|
||||
}
|
||||
|
||||
export function isObjectLiteral(maybeObject: unknown): maybeObject is { [key: string]: string } {
|
||||
|
||||
Reference in New Issue
Block a user