Skip to content

Commit 7166f0d

Browse files
author
Andrey
committed
Switch default writing mode.
1 parent 44b6dfc commit 7166f0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spire/humbug/api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ async def delete_restricted_token_handler(
490490
async def create_report(
491491
request: Request,
492492
report: HumbugReport,
493-
sync: bool = Query(False),
493+
sync: bool = Query(True),
494494
db_session: Session = Depends(db.yield_connection_from_env),
495495
) -> Response:
496496
"""
@@ -564,7 +564,7 @@ async def create_report(
564564
async def bulk_create_reports(
565565
request: Request,
566566
reports_list: List[HumbugReport],
567-
sync: bool = Query(False),
567+
sync: bool = Query(True),
568568
db_session: Session = Depends(db.yield_connection_from_env),
569569
) -> Response:
570570
"""

0 commit comments

Comments
 (0)