Skip to content

Commit

Permalink
[AMSA-63] Error when make sync adUnits (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimroi authored Jan 19, 2024
1 parent 8723fb6 commit 8ca1c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/admob-api/admob.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class AdmobApiService {
throw getTranslator(AdmobErrorTranslator).decode(data);
}

if (method === 'ListGoogleBiddingAdUnits' && Object.keys(data).length === 0) {
if ((method === 'List' || method === 'ListGoogleBiddingAdUnits') && Object.keys(data).length === 0) {
return {1: []};
}

Expand Down

0 comments on commit 8ca1c63

Please sign in to comment.