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 separately #56

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. The current implementation of the post() function does not clearly separate the logic for these two methods, which can lead to confusion and potential bugs.

Summary of Changes

This PR addresses issue #49 and is based on the branch 'refactor-post-function'.

Fixes #49.


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

git checkout sweep/refactor-post-function_1

🎉 Latest improvements to Sweep:


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