Skip to content

Commit

Permalink
fix update project
Browse files Browse the repository at this point in the history
  • Loading branch information
Autumn-27 committed Jun 5, 2024
1 parent a589d47 commit 86119ca
Show file tree
Hide file tree
Showing 141 changed files with 376 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async def update_project_data(request_data: dict, db=Depends(get_mongo_db), _: d
if hour != old_hour:
job = scheduler.get_job(pro_id)
if job is not None:
scheduler.remove_job(job)
scheduler.remove_job(pro_id)
scheduler.add_job(scheduler_project, 'interval', hours=hour, args=[pro_id],
id=str(pro_id), jobstore='mongo')
else:
Expand Down
1 change: 1 addition & 0 deletions static/assets/403-BQjURMnd.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/assets/404-Depjixe6.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/assets/500-BkveePiR.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/assets/AddProject-B7zLOnRy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions static/assets/AddTask-CwjjWke5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 86119ca

Please sign in to comment.