Skip to content

Commit

Permalink
updated FeedAd adapter placement ID regex
Browse files Browse the repository at this point in the history
  • Loading branch information
couchcrew-thomas committed Jun 10, 2019
1 parent e4c7214 commit 0eabd34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/feedadBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const TAG = '[FeedAd]';
* Pattern for valid placement IDs
* @type {RegExp}
*/
const PLACEMENT_ID_PATTERN = /^(([a-z0-9])+[-_]?)+$/;
const PLACEMENT_ID_PATTERN = /^(?:[a-z0-9]+[-_]?)+$/;

const API_ENDPOINT = 'https://api.feedad.com';
const API_PATH_BID_REQUEST = '/1/prebid/web/bids';
Expand Down

0 comments on commit 0eabd34

Please sign in to comment.