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 json request type in payload #9

Merged
merged 11 commits into from
Apr 23, 2024
Merged

Conversation

joshpme
Copy link
Contributor

@joshpme joshpme commented Apr 23, 2024

I need to actually send the data as a json request so the appropriate header typing prompts the microservice platform I am using to serialise the request payload.

Log error on exception
Check logger extension is present before attempting to log
…esence of NOTIFY_URL, route the flask debugger into the service to allow logging to actually work
… class remove the extension class which really isn't used beyond initialisation notify_init is now the path for initialising the service
isort ran
remove non-pythonic empty check
remove incorrect return type hinting
reduce indents by returning early on notify_init
@ThiefMaster
Copy link
Member

Please remove all the unrelated stuff from the PR, such as the package-lock.json change.

@joshpme
Copy link
Contributor Author

joshpme commented Apr 23, 2024

Literally half a second to slow.

@ThiefMaster
Copy link
Member

Thanks. For the future I recommend rebasing onto the upstream master branch to avoid having tons of commit. I'll squash+merge so they don't show up in master, but still, it's much cleaner to not have them in the first place ;)

@joshpme
Copy link
Contributor Author

joshpme commented Apr 23, 2024

My bad. Ill ensure to do that in the future. thanks

@ThiefMaster ThiefMaster merged commit 3f09f60 into indico:master Apr 23, 2024
1 check failed
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