()
| 221 | |
| 222 | @bp.route('/session', methods=['POST']) |
| 223 | def get_session_id(): |
| 224 | # check the JSON |
| 225 | request_body = request.get_json() |
| 226 | user_id = request_body.get('user_id') |
| 227 | scope = request_body.get('scope', 'USA') |
| 228 | session = create_session(scope, user_id) |
| 229 | return make_response(jsonify({'session_id': session}), 200) |
nothing calls this directly
no test coverage detected