Skip to content

Commit 1fed96d

Browse files
Sparteo Bid Adapter: Adapt error messages following param deprecation (prebid#12321)
1 parent 5c246b3 commit 1fed96d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/sparteoBidAdapter.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ export const spec = {
7676
}
7777

7878
if (!bid.params.networkId && !bid.params.publisherId) {
79-
logError('The networkId or publisherId is required');
79+
// publisherId is deprecated but is still accepted for now for retrocompatibility purpose.
80+
logError('The networkId is required');
8081
return false;
8182
}
8283

0 commit comments

Comments
 (0)