Updated audit log such that if user is deleted, empty string is passed as username

This commit is contained in:
Saurab-Shrestha 2024-02-27 12:32:25 +05:45
parent 484b6b7223
commit 46c4a3122b
4 changed files with 11 additions and 4 deletions

View file

@ -44,7 +44,7 @@ def create_app(root_injector: Injector) -> FastAPI:
allow_credentials=True,
allow_origins=["http://localhost:80/", "http://10.1.101.125:80", "http://quickgpt.gibl.com.np:80", "http://127.0.0.1",
"http://10.1.101.125", "http://quickgpt.gibl.com.np", "http://localhost:8001", "http://192.168.1.93", "http://192.168.1.93:88",
"http://192.168.1.98", "http://192.168.1.98:5173", "http://localhost:5173", "http://127.0.0.1/", "http://localhost/",
"http://192.168.1.98", "http://192.168.1.98:5173", "http://localhost:3000","https://globaldocquery.gibl.com.np/", "http://127.0.0.1/", "http://localhost/",
"http://localhost:80", "http://192.168.1.131:80/", "http://192.168.1.131"],
allow_methods=["DELETE", "GET", "POST", "PUT", "OPTIONS", "PATCH"],
allow_headers=["*"],