SomethingGeneric / flaskpress

Wordpress but it's actually Python + Flask
GNU General Public License v3.0
0 stars 0 forks source link

Refactor post() function to handle GET and POST requests separately #42

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR refactors the post() function in main.py to handle GET and POST requests separately. It improves the readability and maintainability of the code by clearly separating the handling of these two methods.

Summary of Changes

Please review and merge this PR. Thank you!

Fixes #27.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/refactor-post-function

🎉 Latest improvements to Sweep:


💡 To get Sweep to edit this pull request, you can: