Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leftover return value from requestBids #5160

Merged
merged 1 commit into from
Apr 24, 2020

Conversation

snapwich
Copy link
Collaborator

Type of change

  • [x ] Refactoring (no functional changes, no api changes)

Description of change

Someone mentioned that requestBids is not propertly returning anything (it's undefined). This is because it is an async hook and async hooks cannot return a value on account of them being asynchronous. The return value is a leftover addition that was added to support the old pre1api module, but it was never documented and is not part of our public API. This pull-request is to remove it so it doesn't confuse anyone else.

@mkendall07 mkendall07 added the needs 2nd review Core module updates require two approvals from the core team label Apr 23, 2020
@mkendall07 mkendall07 requested a review from Fawke April 23, 2020 20:28
Copy link
Contributor

@Fawke Fawke left a comment

Choose a reason for hiding this comment

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

LGTM

@Fawke Fawke added LGTM and removed needs 2nd review Core module updates require two approvals from the core team labels Apr 24, 2020
@Fawke Fawke merged commit 5b8dfa6 into master Apr 24, 2020
iggyfisk pushed a commit to happypancake/Prebid.js that referenced this pull request Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants