Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
consumable: Correct GDPR vendor ID to 591. (prebid#1309)
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy authored May 21, 2020
1 parent 72b980b commit d9323d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/consumable/usersync.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/prebid/prebid-server/usersync"
)

var VENDOR_ID uint16 = 65535 // TODO: Insert consumable value when one is assigned
var VENDOR_ID uint16 = 591

func NewConsumableSyncer(temp *template.Template) usersync.Usersyncer {

Expand Down
2 changes: 1 addition & 1 deletion adapters/consumable/usersync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ func TestConsumableSyncer(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, "//e.serverbid.com/udb/9969/match?gdpr=A&euconsent=B&us_privacy=C&redir=http%3A%2F%2Flocalhost%3A8000%2Fsetuid%3Fbidder%3Dconsumable%26gdpr%3DA%26gdpr_consent%3DB%26uid%3D", u.URL)
assert.Equal(t, "redirect", u.Type)
assert.Equal(t, uint16(65535), syncer.GDPRVendorID())
assert.Equal(t, uint16(591), syncer.GDPRVendorID())
assert.Equal(t, false, u.SupportCORS)
}

0 comments on commit d9323d8

Please sign in to comment.