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

fix(WebhookEditWithToken): error shadowing #1372

Merged
merged 2 commits into from May 11, 2023

Conversation

quackduck
Copy link
Contributor

@quackduck quackduck commented Apr 28, 2023

Earlier, if there was an error it would not be returned since the := operator was used instead of a = operator.

I've been using this route in https://github.com/quackduck/devzat.

@FedorLap2006 FedorLap2006 added fix Pull requests and issues related to bug fixes and structural inconsistencies rest REST API related issues and pull requests labels May 11, 2023
@FedorLap2006 FedorLap2006 changed the title Fix bug with error not being returned in WebhookEditWithToken fix(WebhookEditWithToken): error shadowing May 11, 2023
@FedorLap2006 FedorLap2006 merged commit 7c47cfc into bwmarrin:master May 11, 2023
8 checks passed
@FedorLap2006
Copy link
Collaborator

Sorry for a long wait. And thanks for noticing the fix!

@quackduck
Copy link
Contributor Author

okay I just tested whether this actually is a problem:

https://go.dev/play/p/FvZC2TYqcCJ

It's not, so this PR hasn't really fixed anything lol oof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull requests and issues related to bug fixes and structural inconsistencies rest REST API related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants