Skip to content

Commit

Permalink
feat: convert AD_INDEX and AD_TYPE to correct datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
paulk4633 committed Oct 1, 2024
1 parent 9e151a6 commit be073ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/utils/filterUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const convertFilterForAds = (rawValue: string, filterAttribute: QueryAdAttribute
case 'IS_LINEAR':
return rawValue === 'true';

case 'AD_INDEX':
case 'AD_TYPE':
case 'AD_STARTUP_TIME':
case 'AD_WRAPPER_ADS_COUNT':
case 'AUDIO_BITRATE':
Expand Down Expand Up @@ -114,6 +116,7 @@ const convertFilter = (rawValue: string, filterAttribute: QueryAttribute) => {
return rawValue === 'true';

case 'AUDIO_BITRATE':
case 'AD_INDEX':
case 'BUFFERED':
case 'CLIENT_TIME':
case 'DOWNLOAD_SPEED':
Expand Down

0 comments on commit be073ec

Please sign in to comment.