Skip to content

Commit

Permalink
AdagioAnalyticsAdapter: fix function param check (#10860)
Browse files Browse the repository at this point in the history
  • Loading branch information
osazos authored Dec 19, 2023
1 parent 332a7d2 commit cd787eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/adagioAnalyticsAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ function getAdapterNameForAlias(aliasName) {
};

function isAdagio(value) {
if (!value) {
return false
}

return value.toLowerCase().includes('adagio') ||
getAdapterNameForAlias(value).toLowerCase().includes('adagio');
};
Expand Down

0 comments on commit cd787eb

Please sign in to comment.