Skip to content

Commit

Permalink
fix: remove callback from argument to function that takes no arguments (
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvin-lu committed Mar 12, 2021
1 parent d2ae868 commit 777dead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amplitude-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ AmplitudeClient.prototype._logEvent = function _logEvent(
this.saveEvents();
}

this._sendEventsIfReady(callback);
this._sendEventsIfReady();

return eventId;
} catch (e) {
Expand Down

0 comments on commit 777dead

Please sign in to comment.