1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-09-11 13:15:28 +03:00

Fix lint issue and comparison

This commit is contained in:
Jan Oberhauser 2021-12-23 13:49:09 +01:00 committed by ahsan-virani
parent fcaae7f99f
commit 7a7e51abd7

View File

@ -125,7 +125,7 @@ export class Kitemaker implements INodeType {
const responseData = await kitemakerRequest.call(this, { query: getStatuses });
const { data: { organization: { spaces } } } = responseData;
const space = spaces.find((e: { [x: string]: string; }) => e.id == spaceId)
const space = spaces.find((e: { [x: string]: string; }) => e.id === spaceId);
return createLoadOptions(space.statuses);
},