Fixed recipe bug n inventory page.

This commit is contained in:
Aodhan
2025-07-10 18:25:23 +01:00
parent ef9b64adfe
commit fd3752e38b
3 changed files with 20 additions and 5 deletions

View File

@@ -13,9 +13,8 @@ from pydantic import BaseModel
from .database import get_session
# Map craft names -> table names in Postgres
ALLOWED_CRAFTS = {
"desynthesis": "recipes_desynthesis",
# Map craft names to their corresponding recipe tables in Postgres.
ALLOWED_CRAFTS: dict[str, str] = {
"woodworking": "recipes_woodworking",
"smithing": "recipes_smithing",
"alchemy": "recipes_alchemy",