Skip to content

Commit

Permalink
Update date on test-command
Browse files Browse the repository at this point in the history
To avoid the 500 errors on old queries when running `hatch run tiktok-lib test`
  • Loading branch information
BrunoGomesCoelho authored Nov 4, 2024
1 parent 52c2982 commit 9c2f226
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tiktok_research_api_helper/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ def test(

logging.log(logging.INFO, f"VideoQuery: {test_query}")

start_date_datetime = utils.str_tiktok_date_format_to_datetime("20220101")
end_date_datetime = utils.str_tiktok_date_format_to_datetime("20220101")
start_date_datetime = utils.str_tiktok_date_format_to_datetime("20241031")
end_date_datetime = utils.str_tiktok_date_format_to_datetime("20241031")

engine = get_sqlite_engine_and_create_tables(db_file)

Expand Down

0 comments on commit 9c2f226

Please sign in to comment.