Skip to content

Commit

Permalink
Merge pull request #127 from awest25/dynamicURLUPdate
Browse files Browse the repository at this point in the history
i keep forgetting to lint
  • Loading branch information
Fredenck authored Apr 18, 2024
2 parents 4b1f31b + 4365208 commit d54149e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/transformData.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function transformData(matchData) {
let dataVersion = -1;

// This is the original Dartfish format we used.
if (pointsData[0].hasOwnProperty('Position')) {
if (Object.prototype.hasOwnProperty.call(pointsData[0], 'Position')) {
dataVersion = 0;
}
// This is the new format Leo made.
Expand Down

0 comments on commit d54149e

Please sign in to comment.