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

Add set_curfew #150

Merged
merged 6 commits into from
Apr 4, 2023
Merged

Add set_curfew #150

merged 6 commits into from
Apr 4, 2023

Conversation

therefromhere
Copy link
Contributor

@therefromhere therefromhere commented Sep 4, 2022

Adds set_curfew method and curfew CLI command.

Draft because it's not quite working currently. For some reason I'm getting a 500 error from the API, I haven't figured out why yet.

@benleb benleb self-assigned this Sep 7, 2022
@therefromhere
Copy link
Contributor Author

I think I've figured it out - I think aiohttp client is sending form data by default, sending as JSON resolves the issue. Pushing a fix shortly.

@therefromhere therefromhere marked this pull request as ready for review September 7, 2022 09:33
@therefromhere
Copy link
Contributor Author

Fixed, the curfew cli is working now.

@benleb benleb merged commit c616ce2 into benleb:dev Apr 4, 2023
1 check passed
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.

None yet

2 participants