Skip to content

Commit

Permalink
FEC-14248-fix-_isAnonimous-base-on-ks-contain-user-remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
Roee Dean authored and Roee Dean committed Jan 20, 2025
1 parent 1088e48 commit b90d883
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/k-provider/ovp/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export default class OVPProvider extends BaseProvider<OVPProviderMediaInfoObject

this._isAnonymous = !this._ks ? true : undefined;
if (this._isAnonymous === undefined) {
this.initializeUserResponse(OVPConfiguration.serviceUrl, this._ks).catch(err => {
this.initializeUserResponse(OVPConfiguration.serviceUrl, this._ks).then(() => {
this._logger.info('User response initialized');
}).catch(err => {
this._logger.error('Failed to initialize user response', err);
});
}
Expand Down

0 comments on commit b90d883

Please sign in to comment.