fix: correct generate endpoint return type, migration server_default SQL, and auth loading propagation
This commit is contained in:
@@ -82,7 +82,7 @@ def generate_config(
|
||||
format: str = "json",
|
||||
db: Session = Depends(get_db),
|
||||
current_user: models.User = Depends(get_current_user),
|
||||
) -> Response:
|
||||
):
|
||||
config = (
|
||||
db.query(models.Config)
|
||||
.options(
|
||||
|
||||
Reference in New Issue
Block a user