Skip to content

Commit

Permalink
fix use of event URL override
Browse files Browse the repository at this point in the history
  • Loading branch information
bpapillon committed Jan 25, 2024
1 parent 5f8a5b3 commit b2c17a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@
"test": "jest --config jest.config.js"
},
"types": "dist/schematic.d.ts",
"version": "0.1.3"
"version": "0.1.4"
}
2 changes: 1 addition & 1 deletion js/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ export class Schematic {
};

private sendEvent = (event: Event): void => {
const captureUrl = this.getUrl(this.apiUrl, "e");
const captureUrl = this.getUrl(this.eventUrl, "e");
const payload = JSON.stringify(event);

fetch(captureUrl, {
Expand Down

0 comments on commit b2c17a2

Please sign in to comment.