Skip to content

Commit 837b2d5

Browse files
committed
remove unused projectids endpoint from tests
this code seems unused
1 parent 322fa6f commit 837b2d5

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

relay-crash/sentry-native

Submodule sentry-native updated 258 files

tests/integration/fixtures/mini_sentry.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -386,15 +386,6 @@ def store_event():
386386
def store_event_catchall(project):
387387
raise AssertionError(f"Unknown project: {project}")
388388

389-
@app.route("/api/0/relays/projectids/", methods=["POST"])
390-
def get_project_ids():
391-
project_ids = {}
392-
for public_key in flask_request.json["publicKeys"]:
393-
project_ids[public_key] = _get_project_id(
394-
public_key, sentry.project_configs
395-
)
396-
return jsonify(projectIds=project_ids)
397-
398389
@app.route("/api/0/relays/projectconfigs/", methods=["POST"])
399390
def get_project_config():
400391
relay_id = flask_request.headers["x-sentry-relay-id"]

0 commit comments

Comments
 (0)