Przeglądaj źródła

not permission to state

Erwin Jacimino 3 miesięcy temu
rodzic
commit
8eec8e0512
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      routes/store.py

+ 1 - 1
routes/store.py

@@ -35,5 +35,5 @@ def get_table_exists(q: str = Query(..., description="q parameter")):
     return success_response({"exists": exist}, status_code=200)
 
 @store_router.get("/state", response_class=JSONResponse)
-def get_store_state(_: User = Depends(get_current_user)):
+def get_store_state():
     return success_response(data={"state": settings.IS_OPEN_STORE})