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

feat: add app uninstall functionality #267

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

ghodss
Copy link

@ghodss ghodss commented Feb 26, 2024

Add the ability to uninstall an app over the Shopify REST API by calling DELETE on the admin/api_permissions resource. Documentation for this functionality is found on Shopify API docs here. Note that DELETE is the only method allowed on the api_permissions resource, hence it is the only method implemented.

I’ve added a test and tested manually to confirm this works, but please let me know if I’ve missed anything!

@oliver006
Copy link
Collaborator

Thanks for adding that, that's great!

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (58f8f44) to head (4eaff49).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #267   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           51        52    +1     
  Lines         2207      2211    +4     
=========================================
+ Hits          2207      2211    +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@oliver006 oliver006 merged commit 99f6b0a into bold-commerce:master Feb 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants