diff --git a/docs/02_concepts/12_pay_per_event.mdx b/docs/02_concepts/12_pay_per_event.mdx index f0d4fa60..3e52e332 100644 --- a/docs/02_concepts/12_pay_per_event.mdx +++ b/docs/02_concepts/12_pay_per_event.mdx @@ -47,6 +47,6 @@ It is encouraged to test your monetization code on your machine before releasing ACTOR_TEST_PAY_PER_EVENT=true python -m youractor ``` -If you also wish to see a log of all the events charged throughout the run, the Apify SDK keeps a log of charged events in a so called charging dataset. Your charging dataset can be found under the `charging_log` name (unless you change your storage settings, this dataset is stored in `storage/datasets/charging_log/`). Please note that this log is not available when running the Actor in production on the Apify platform. +If you also wish to see a log of all the events charged throughout the run, the Apify SDK keeps a log of charged events in a so called charging dataset. Your charging dataset can be found under the `charging-log` name (unless you change your storage settings, this dataset is stored in `storage/datasets/charging-log/`). Please note that this log is not available when running the Actor in production on the Apify platform. Because pricing configuration is stored by the Apify platform, all events will have a default price of $1. diff --git a/src/apify/_charging.py b/src/apify/_charging.py index 33cba9d3..fa53b138 100644 --- a/src/apify/_charging.py +++ b/src/apify/_charging.py @@ -118,7 +118,7 @@ class ActorPricingInfo: class ChargingManagerImplementation(ChargingManager): """Implementation of the `ChargingManager` Protocol - this is only meant to be instantiated internally.""" - LOCAL_CHARGING_LOG_DATASET_NAME = 'charging_log' + LOCAL_CHARGING_LOG_DATASET_NAME = 'charging-log' def __init__(self, configuration: Configuration, client: ApifyClientAsync) -> None: self._max_total_charge_usd = configuration.max_total_charge_usd or Decimal('inf')