Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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
@therefromhere therefromhere deleted the curfew branch December 14, 2024 04:59
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants