We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf1e423 commit 8199639Copy full SHA for 8199639
server/src/modules/projects/project_blueprint.py
@@ -8,7 +8,7 @@
8
project_bp = Blueprint('projects', __name__, url_prefix='/projects')
9
10
11
-@project_bp.route('/', methods=['GET'])
+@project_bp.route('', methods=['GET'])
12
@auth_middleware
13
def index() -> json:
14
results = []
@@ -26,7 +26,7 @@ def index() -> json:
26
return json.dumps(results), 200
27
28
29
-@project_bp.route('/', methods=['POST'])
+@project_bp.route('', methods=['POST'])
30
31
def store() -> json:
32
title, description, user_id = request.json.values()
0 commit comments