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 a560c31 commit dbe2424Copy full SHA for dbe2424
api/index.py
@@ -112,13 +112,6 @@ def get_neighbors():
112
logging.error(f"Missing project {repo}")
113
return jsonify({"status": f"Missing project {repo}"}), 400
114
115
- # Try converting node_ids to an integer
116
- try:
117
- node_ids = [int(node_id) for node_id in node_ids]
118
- except ValueError:
119
- logging.error(f"Invalid node IDs: {node_ids}. It must be an integer.")
120
- return jsonify({"status": "Invalid node IDs. It must be an integer."}), 400
121
-
122
# Initialize the graph with the provided repository
123
g = Graph(repo)
124
0 commit comments