Преглед на файлове

Finalize proxy2core changes

sync_core
root преди 1 седмица
родител
ревизия
02530a8a69
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. +4
    -1
      app.py

+ 4
- 1
app.py Целия файл

@@ -63,6 +63,9 @@ reslevis_router = _reslevis.router
from fastapi import FastAPI, Security
from fastapi.security import OAuth2AuthorizationCodeBearer

#Proxy al CORE ResLevis
import httpx


AUTH_URL = config_env.KEYCLOAK_AUTH_URL
TOKEN_URL = config_env.KEYCLOAK_TOKEN_URL
@@ -389,4 +392,4 @@ async def majortel_calls_id_delete(call_id,active_user=Depends(manager)):
elif (response == "Not found"):
return JSONResponse(status_code=404, content={"message": "Call not found"})
else:
return JSONResponse(status_code=500, content={"message": "Server error"})
return JSONResponse(status_code=500, content={"message": "Server error"})

Зареждане…
Отказ
Запис