Skip to content

Commit

Permalink
fix typo per feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Chen authored and Amy Chen committed Dec 4, 2024
1 parent 4e7ab82 commit b62fbbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/Landing/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import executeElm from "../../utils/executeELM";
import * as landingUtils from "./utility";
import { datishFormat } from "../../helpers/formatit";
import {
addMamotoTracking,
addMatomoTracking,
getEnvSystemType,
getEPICPatientIdFromSource,
getPatientNameFromSource,
Expand Down Expand Up @@ -100,7 +100,7 @@ export default class Landing extends Component {
return;
}
// add PIWIK tracking
addMamotoTracking();
addMatomoTracking();
writeToLog("application loaded", "info", this.getPatientLogParams());
//set FHIR results
let result = {};
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ export function getUserIdFromAccessToken() {
return accessToken["preferred_username"];
}

export function addMamotoTracking() {
export function addMatomoTracking() {
// already generated script, return
if (document.querySelector("#matomoScript")) return;
const userId = getUserIdFromAccessToken();
Expand Down

0 comments on commit b62fbbf

Please sign in to comment.