Files
foxhunt/services/api/.sqlx/query-ed947b6e0201c32cd49d191293906361647f52ab989fd8a7fedcbb2a66748355.json
jgrusewski e50ea55064 feat: create services/api/ — unified gRPC gateway with tonic-web
Copied from api_gateway, removed REST handlers (port 8080),
added tonic-web + CORS for grpc-web browser access.
Binary renamed: api-gateway → api

Changes:
- Package name: api-gateway → api
- Deleted src/handlers/ (REST ML endpoints on port 8080)
- Added tonic-web 0.13 + tower-http CORS layer
- Server::builder().accept_http1(true) for grpc-web
- CORS_ORIGINS env var (default http://localhost:5173)
- Metrics server on port 9091 (axum) preserved
- All 95 lib tests pass, 0 clippy warnings
- Added services/api to workspace members

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 23:32:46 +01:00

15 lines
327 B
JSON

{
"db_name": "PostgreSQL",
"query": "UPDATE mfa_config SET is_enabled = false, updated_at = NOW() WHERE user_id = $1",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Uuid"
]
},
"nullable": []
},
"hash": "ed947b6e0201c32cd49d191293906361647f52ab989fd8a7fedcbb2a66748355"
}