Fix lint issue and comparison

This commit is contained in:
Jan Oberhauser 2021-12-23 13:49:09 +01:00
parent 49f42b97ef
commit 96a112f01d

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);
},