Skip to content

remove removeRequestId logic when getting bids#3698

Merged
idettman merged 1 commit intomasterfrom
getbids_requestId
Apr 3, 2019
Merged

remove removeRequestId logic when getting bids#3698
idettman merged 1 commit intomasterfrom
getbids_requestId

Conversation

@jsnellbaker
Copy link
Collaborator

Type of change

  • Feature

Description of change

Fixes #3685

This PR removes the logic we had in place to remove the requestId field from the bid objects that were returned in the public API's various getBids... type functions.

Context

Originally introduced in #1970, the requestId's value for a long time was equal to the bid's adId; so it was unnecessary to have both included when one was just used internally.

However when #3440 was introduced, the requestId and adId held different responsibilities (see linked PR for details).

At this point, both fields should be present when we're getting the bids from an auction.

@jaiminpanchal27 jaiminpanchal27 requested a review from idettman April 2, 2019 18:47
@jaiminpanchal27 jaiminpanchal27 added the needs 2nd review Core module updates require two approvals from the core team label Apr 2, 2019
Copy link
Contributor

@idettman idettman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@idettman idettman merged commit 3b2093a into master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs 2nd review Core module updates require two approvals from the core team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments