auto_update param edit

This commit is contained in:
qiaofeng1227 2023-06-25 15:34:39 +08:00
parent c67111bdda
commit ae015876cc
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ COPY static ./static
COPY requirements.txt main.py ./
RUN apt update
# Install supervisords
# Install supervisord
RUN apt install -y supervisor
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY config/cmd.sh /cmd.sh

View file

@ -403,7 +403,7 @@ def AppStoreUpdate(request: Request):
return response
@router.api_route("/AppAutoUpdate", methods=["GET", "POST"], summary="软件商店自动更新", response_model=Response, response_description=rd_auto_list)
def AppAutoUpdate(request: Request,auto_update: Optional[bool] = Query(default=False, description="自动更新标志")):
def AppAutoUpdate(request: Request,auto_update: Optional[str] = Query(default=None, description="自动更新标志")):
try:
myLogger.info_logger("Receive request: /AppAutoUpdate")