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

Handle webhook notifications for unknown users #69

Merged
merged 2 commits into from
Jul 20, 2024

Conversation

caarmen
Copy link
Owner

@caarmen caarmen commented Jul 20, 2024

Instead of returning a 500 and logging a traceback to the console: return a 404.

Copy link

github-actions bot commented Jul 20, 2024

File Coverage
All files 98%
logger.py 90%
main.py 97%
domain/localrepository/localwithingsrepository.py 94%
domain/usecases/slack/usecase_post_sleep.py 97%
remoteservices/api/withings/subscribeapi.py 83%
remoteservices/api/withings/weightapi.py 93%
remoteservices/repositories/webapifitbitrepository.py 97%
routers/dependencies.py 85%
tasks/fitbitpoll.py 96%

Minimum allowed coverage is 80%

Generated by 🐒 cobertura-action against 6659fa4

@caarmen caarmen force-pushed the handle-webhook-notif-unknown-user branch from a16a552 to 3797816 Compare July 20, 2024 16:11
@caarmen caarmen force-pushed the handle-webhook-notif-unknown-user branch from 3797816 to 6659fa4 Compare July 20, 2024 16:16
@caarmen caarmen merged commit eff5777 into main Jul 20, 2024
3 checks passed
@caarmen caarmen deleted the handle-webhook-notif-unknown-user branch July 20, 2024 16:18
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.

1 participant