Skip to content

Remove request body for deleteTenant #1452

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

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

lisajian
Copy link
Contributor

Discussion

Delete endpoints should not have a body in the request (see https://google.aip.dev/135). Currently running into issues with running deleteTenant() integration test against the emulator because a body is passed into the request. This issue will also be present for other delete endpoints but is not addressed in this PR.

firebase/firebase-tools#3818 also addresses the issue from the emulator side, but Admin SDK should not pass in body to delete endpoints in general.

Corresponding internal bug: b/192387245

Testing

npm test passes

API Changes

N/A

@lisajian lisajian marked this pull request as ready for review October 12, 2021 00:42
@yuchenshi yuchenshi merged commit 475927c into firebase:master Oct 12, 2021
@lisajian lisajian deleted the lj-deleteBody branch October 12, 2021 01:11
hiranya911 added a commit that referenced this pull request Oct 12, 2021
hiranya911 added a commit that referenced this pull request Oct 12, 2021
lisajian added a commit to lisajian/firebase-admin-node that referenced this pull request Oct 13, 2021
lisajian added a commit to lisajian/firebase-admin-node that referenced this pull request Oct 13, 2021
lisajian added a commit to lisajian/firebase-admin-node that referenced this pull request Oct 14, 2021
lisajian added a commit that referenced this pull request Oct 14, 2021
This change reverts #1456, which reverted the original PR #1452.

Corresponding internal bug: b/192387245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants