Skip to content

Commit 8399538

Browse files
lynnagaraDav1dde
andauthored
test(mini_sentry): Remove unused projectids endpoint (#5510)
Co-authored-by: Lyn Nagara <lynnagara@users.noreply.github.com> Co-authored-by: David Herberth <david.herberth@sentry.io>
1 parent da241f0 commit 8399538

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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)