Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use toDate instead of endDate for revenue report criteria #101

Merged
merged 1 commit into from
May 21, 2020

Conversation

shadcn
Copy link
Contributor

@shadcn shadcn commented May 15, 2020

See https://apidocs.apigee.com/monetize/apis/post/organizations/%7Borg_name%7D/%7Breport_type%7D

Existing tests are using toDate as well:

[ReportDefinitionInterface::TYPE_REVENUE, RevenueReportCriteria::class, ['fromDate' => '2015-07-01 00:00:00', 'toDate' => '2015-08-01 13:35:00']],

Copy link
Contributor

@arlina-espinoza arlina-espinoza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The monetization docs make no mention in the report criteria about an endDate, just a toDate, so this is a bug fix and should not break anything (https://docs.apigee.com/api-platform/monetization/create-reports#critconfigapi).

@shadcn shadcn merged commit 10efcdb into apigee:2.x May 21, 2020
@arlina-espinoza arlina-espinoza added this to the 2.0.5 milestone May 22, 2020
@arlina-espinoza arlina-espinoza added this to In progress in Drupal-based Development Board via automation May 22, 2020
@cnovak cnovak removed this from In progress in Drupal-based Development Board Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Indicates CLA has been signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants