Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
tvanlaerhoven committed Jan 11, 2024
1 parent 05eba85 commit f491e9d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export class CastLabsPlayReadyContentProtectionIntegration implements ContentPro
}

onLicenseRequest(request: LicenseRequest): MaybeAsync<Partial<LicenseRequest> | BufferSource> {
request.url = this.contentProtectionConfiguration.playready?.licenseAcquisitionURL ?? CastLabsPlayReadyContentProtectionIntegration.DEFAULT_LICENSE_URL;
request.url = this.contentProtectionConfiguration.playready?.licenseAcquisitionURL ??
CastLabsPlayReadyContentProtectionIntegration.DEFAULT_LICENSE_URL;
request.headers = {
...request.headers,
'x-dt-custom-data': this.customData!,

Check warning on line 26 in src/castlabs/CastLabsPlayReadyContentProtectionIntegration.ts

View workflow job for this annotation

GitHub Actions / lint

Forbidden non-null assertion
Expand Down

0 comments on commit f491e9d

Please sign in to comment.