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

Apply authorization changes to live-list results #11308

Merged
merged 3 commits into from Sep 20, 2017

Conversation

dvoytenko
Copy link
Contributor

Closes #11295.

return this.lastAuthorizationPromise_.then(() => {
const target = dev().assertElement(event.target);
this.applyAuthorizationToRoot_(target,
/** @type {!JsonObject} */ (response));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@erwinmombay I added !JsonObject here to remove |null to satisfy compiler. But I have no idea why it's needed. Seems completely wrong. I already check if (response) above. Why do I need this here?

@dvoytenko dvoytenko merged commit 8bf65d7 into ampproject:master Sep 20, 2017
@dvoytenko dvoytenko deleted the access85 branch September 20, 2017 02:42
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.

None yet

4 participants