fix(fc3b): replace FC-3a KNOWN_PLATFORMS w/ registry; drop /api/sources/platforms
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -24,11 +24,6 @@ def _bad(error: str, *, status: int = 400, detail: str | None = None, **extra):
|
||||
return jsonify(body), status
|
||||
|
||||
|
||||
@sources_bp.route("/platforms", methods=["GET"])
|
||||
async def platforms():
|
||||
return jsonify({"platforms": sorted(KNOWN_PLATFORMS)})
|
||||
|
||||
|
||||
@sources_bp.route("", methods=["GET"])
|
||||
async def list_sources():
|
||||
artist_id_raw = request.args.get("artist_id")
|
||||
|
||||
Reference in New Issue
Block a user