Skip to content

Commit

Permalink
style: fix typo in inner function
Browse files Browse the repository at this point in the history
  • Loading branch information
alechkos committed Nov 22, 2024
1 parent 8e1fbd7 commit 3dd959b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ class Client extends EventEmitter {
startTime = Math.floor(startTime.getTime() / 1000);

return await this.pupPage.evaluate(async (startTimeTs, callType) => {
const response = await window.Store.ScheduledEventMsgUtils.createScheduledEventCallLink(startTimeTs, callType);
const response = await window.Store.ScheduledEventMsgUtils.createEventCallLink(startTimeTs, callType);
return response ?? '';
}, startTime, callType);
}
Expand Down
2 changes: 1 addition & 1 deletion src/util/Injected/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,6 @@ exports.LoadUtils = () => {
};

window.WWebJS.createScheduledEventCallLink = async (eventStartTimeTs, callLinkType) => {
return await window.Store.ScheduledEventMsgUtils.createScheduledEventCallLink(eventStartTimeTs, callLinkType);
return await window.Store.ScheduledEventMsgUtils.createEventCallLink(eventStartTimeTs, callLinkType);
};
};

0 comments on commit 3dd959b

Please sign in to comment.