Skip to content

Commit

Permalink
Fix UI complaining about missing parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
willywongi committed Feb 17, 2022
1 parent 02279a9 commit c139494
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export class EventbriteTrigger implements INodeType {
// Get all the available events to display them to user so that he can
// select them easily
async getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
const returnData: INodePropertyOptions[] = [];
const returnData: INodePropertyOptions[] = [{name: "All", value: ""}];
const organization = this.getCurrentNodeParameter('organization');
const events = await eventbriteApiRequestAllItems.call(this, 'events', 'GET', `/organizations/${organization}/events`);
for (const event of events) {
Expand Down

0 comments on commit c139494

Please sign in to comment.