Skip to content

Commit 8199639

Browse files
committed
modified: updated store view
1 parent cf1e423 commit 8199639

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/modules/projects/project_blueprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
project_bp = Blueprint('projects', __name__, url_prefix='/projects')
99

1010

11-
@project_bp.route('/', methods=['GET'])
11+
@project_bp.route('', methods=['GET'])
1212
@auth_middleware
1313
def index() -> json:
1414
results = []
@@ -26,7 +26,7 @@ def index() -> json:
2626
return json.dumps(results), 200
2727

2828

29-
@project_bp.route('/', methods=['POST'])
29+
@project_bp.route('', methods=['POST'])
3030
@auth_middleware
3131
def store() -> json:
3232
title, description, user_id = request.json.values()

0 commit comments

Comments
 (0)