Compare commits
1 Commits
b1edec4d9e
...
fix/templa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cd7585107 |
@@ -110,4 +110,4 @@ docker compose exec postgres pg_dump -U miem miem_workers > backup.sql
|
||||
docker compose down
|
||||
```
|
||||
|
||||
Версия сервиса: `0.2.0`. Админка всегда показывает версии backend и frontend в footer.
|
||||
Версия сервиса: `0.2.1`. Админка всегда показывает версии backend и frontend в footer.
|
||||
|
||||
@@ -190,7 +190,7 @@ def _render(request: Request, template: str, context: dict, status_code: int = 2
|
||||
"frontend_version": FRONTEND_VERSION,
|
||||
**context,
|
||||
}
|
||||
return templates.TemplateResponse(template, payload, status_code=status_code)
|
||||
return templates.TemplateResponse(request, template, payload, status_code=status_code)
|
||||
|
||||
|
||||
def _parse_date(value: str | None):
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
APP_VERSION = "0.2.0"
|
||||
FRONTEND_VERSION = "0.2.0"
|
||||
BACKEND_VERSION = "0.2.0"
|
||||
APP_VERSION = "0.2.1"
|
||||
FRONTEND_VERSION = "0.2.1"
|
||||
BACKEND_VERSION = "0.2.1"
|
||||
|
||||
@@ -18,7 +18,7 @@ def test_health_returns_versions():
|
||||
response = client.get("/api/health")
|
||||
|
||||
assert response.status_code == 200
|
||||
assert response.json()["backend_version"] == "0.2.0"
|
||||
assert response.json()["backend_version"] == "0.2.1"
|
||||
|
||||
|
||||
def test_mcp_requires_token_and_lists_tools():
|
||||
|
||||
Reference in New Issue
Block a user