pr0nstar

fixes

......@@ -79,7 +79,11 @@ async def get_redis():
global redis_client
if redis_client is not None:
try:
redis_client.ping()
return redis_client
except:
pass
with open("./docs/redis") as f:
redis_url = f.read().strip()
......
......@@ -13,7 +13,7 @@ from sqlalchemy import (
class UbigeoResumenes(Base):
__tablename__ = "ubigeo_resumenes"
__table_args__ = (
Index("idx_proyecto_resumenes_gestion", "gestion"),
Index("idx_ubigeo_resumenes_gestion", "gestion"),
{"schema": "web"},
)
......
......@@ -9,7 +9,7 @@ from presupuestov1.routers._decorators import not_found
router = APIRouter(
prefix='/_diario',
prefix='/diario',
tags=['diario'],
)
......