()
| 128 | |
| 129 | @app.route("/api/current-location") |
| 130 | def get_current_location(): |
| 131 | galaxy_data = session.get("galaxy") |
| 132 | system_index = session.get("system") |
| 133 | |
| 134 | if not galaxy_data or system_index is None: |
| 135 | return jsonify({"error": "No current location in session"}) |
| 136 | |
| 137 | return jsonify({"galaxy_coordinates": galaxy_data["coordinates"], "system_index": system_index}) |
nothing calls this directly
no outgoing calls
no test coverage detected