Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions api/composers.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,11 @@

from utils.workspace_path import resolve_workspace_path
from utils.path_helpers import to_epoch_ms
from utils.workspace_descriptor import _read_json_file

bp = Blueprint("composers", __name__)


def _read_json_file(path: str):
with open(path, "r", encoding="utf-8") as f:
return json.load(f)


@bp.route("/api/composers")
def list_composers():
try:
Expand Down
Loading
Loading