Repository navigation
fix: update discount schema with proper zod object - #2666
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #2666 +/- ##
=======================================
Coverage 98.43% 98.43%
=======================================
Files 854 854
Lines 11919 11919
Branches 3139 3086 -53
=======================================
Hits 11733 11733
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
|
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time. ❌ Failed Test Results:Completed 3790 tests with View the full list of failed tests
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2666 +/- ##
=====================================
Coverage 98.44 98.44
=====================================
Files 854 854
Lines 11919 11919
Branches 3131 3086 -45
=====================================
Hits 11733 11733
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
|
Visit https://preview-pr-2666.codecov.dev for your PR preview. Expires after 1 month automatically. Enterprise URL: https://preview-pr-2666-enterprise.codecov.dev |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2666 +/- ##
=======================================
Coverage 98.43% 98.43%
=======================================
Files 854 854
Lines 11919 11919
Branches 3088 3121 +33
=======================================
Hits 11733 11733
Misses 183 183
Partials 3 3
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
nicholas-codecov
left a comment
There was a problem hiding this comment.
Alrighty, send it
Description
updates the discount schema used in the
account-detailsrest endpoint with the proper keysRelated stripe documentation can be found here: https://docs.stripe.com/api/coupons/object
Code Example
Notable Changes
N/A, copied directly from the serializer here: https://github.com/codecov/codecov-api/blob/daacd21fe6982c5f53f941669299dbe086c58a75/api/internal/owner/serializers.py#L83-L102
Additionally updated the mocks for the UT to account for this update
Screenshots
Link to Sample Entry
Legal Boilerplate
Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. In 2022 this entity acquired Codecov and as result Sentry is going to need some rights from me in order to utilize my contributions in this PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.