updated the settings api need auth problem
This commit is contained in:
parent
f20685beea
commit
0c25a519ad
|
@ -14,7 +14,7 @@ router = APIRouter()
|
|||
"/",
|
||||
response_model=Setting,
|
||||
)
|
||||
def read_setting(session: SessionDep, current_user: CurrentUser) -> Any:
|
||||
def read_setting(session: SessionDep) -> Any:
|
||||
"""
|
||||
Retrieve users.
|
||||
"""
|
||||
|
@ -41,4 +41,3 @@ def update_setting(
|
|||
session.commit()
|
||||
session.refresh(setting)
|
||||
return setting
|
||||
|
||||
|
|
Loading…
Reference in New Issue