-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
feat: Auth no longer needed for the raw order totals #700
feat: Auth no longer needed for the raw order totals #700
Conversation
8d09798
to
a0c246d
Compare
}, | ||
'capability' => $this->post_type_object->cap->edit_posts, | ||
], | ||
'discountTotalRaw' => function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces must be used to indent lines; tabs are not allowed
}, | ||
'capability' => $this->post_type_object->cap->edit_posts, | ||
], | ||
'discountTotalRaw' => function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected 1 space after FUNCTION keyword; 0 found
}, | ||
'capability' => $this->post_type_object->cap->edit_posts, | ||
], | ||
'discountTaxRaw' => function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces must be used to indent lines; tabs are not allowed
}, | ||
'capability' => $this->post_type_object->cap->edit_posts, | ||
], | ||
'discountTaxRaw' => function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected 1 space after FUNCTION keyword; 0 found
}, | ||
'capability' => $this->post_type_object->cap->edit_posts, | ||
], | ||
'shippingTotalRaw' => function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spaces must be used to indent lines; tabs are not allowed
Code Climate has analyzed commit a0c246d and detected 16 issues on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 66.6% (50% is the threshold). This pull request will bring the total coverage in the repository to 81.9% (0.0% change). View more on Code Climate. |
Your checklist for this pull request
Thanks for sending a pull request! Please make sure you click the link above to view the contribution guidelines, then fill out the blanks below.
🚨Please review the guidelines for contributing to this repository.
What does this implement/fix? Explain your changes.
Makes the Order type's RAW format available to guest users.
Does this close any currently open issues?
Fixes #685
Fixes #
Any relevant logs, error output, GraphiQL screenshots, etc?
(If it’s long, please paste to https://ghostbin.com/ and insert the link here.)
Any other comments?
…
Where has this been tested?