Skip to content

Commit

Permalink
fix: use conventional property name for download location
Browse files Browse the repository at this point in the history
  • Loading branch information
tm-ruxandra committed Mar 13, 2024
1 parent e51d667 commit bf5989f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/monitoring/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const useDownloadEvent = () => {
trackEvent('dataEntry.file.download', {
props: {
[entityType]: ownerSlug,
'download location': location,
downloadLocation: location,
},
});
},
Expand Down
2 changes: 1 addition & 1 deletion src/monitoring/events.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ test('Events: onDownload', async () => {
expect(eventCall[1]).toStrictEqual({
props: {
group: 'abc',
'download location': 'test',
downloadLocation: 'test',
},
});
});

0 comments on commit bf5989f

Please sign in to comment.