Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Sep 28, 2023
1 parent 989d6e3 commit 9f1112b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/api/endpoints/subscribe.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ def search_subscribes(
background_tasks.add_task(
Scheduler().start,
job_id="subscribe_search",
sid=None, state='R'
sid=None,
state='R',
manual=True
)
return schemas.Response(success=True)

Expand All @@ -178,7 +180,9 @@ def search_subscribe(
background_tasks.add_task(
Scheduler().start,
job_id="subscribe_search",
sid=subscribe_id, state=None
sid=subscribe_id,
state=None,
manual=True
)
return schemas.Response(success=True)

Expand Down

0 comments on commit 9f1112b

Please sign in to comment.