Patched in params support for "get."

This commit is contained in:
Yaro Kasear 2025-09-11 11:28:34 -05:00
parent a8b07eb115
commit b8cd972090
2 changed files with 53 additions and 2 deletions

View file

@ -10,7 +10,7 @@ def generate_crud_blueprint(model, service):
@bp.get('/<int:id>')
def get_item(id):
item = service.get(id)
item = service.get(id, request.args)
return jsonify(item.as_dict())
@bp.post('/')