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

Make SetSettings take a JSON object instead of url params #54

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

mads256h
Copy link
Member

@mads256h mads256h commented Dec 8, 2023

It should not use url params as it was a POST request.
It is now updated to a PUT as it updates a resource not creating one.

I have converted all model stuff to use primary constructors.
Namespaces now also matches folder structure.

It should not use url params as it was a POST request.
It is now updated to a PUT as it updates a resource not creating one.

I have converted all model stuff to use primary constructors.
Namespaces now also matches folder structure.
Copy link
Contributor

@Taoshix Taoshix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A much needed refactor

@thom776g thom776g merged commit 81d542b into master Dec 8, 2023
3 checks passed
@thom776g thom776g deleted the set-settings-update branch December 8, 2023 12:44
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.

3 participants