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

wire up cred-ex deletion; delete calls take HTTP DELETE methods #747

Merged

Conversation

sklump
Copy link
Contributor

@sklump sklump commented Oct 8, 2020

Signed-off-by: sklump [email protected]

@sklump sklump requested a review from andrewwhitehead October 8, 2020 12:12
@codecov-io
Copy link

codecov-io commented Oct 8, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@af9af82). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #747   +/-   ##
=========================================
  Coverage          ?   98.98%           
=========================================
  Files             ?      256           
  Lines             ?    13986           
  Branches          ?        0           
=========================================
  Hits              ?    13844           
  Misses            ?      142           
  Partials          ?        0           

@sklump
Copy link
Contributor Author

sklump commented Oct 8, 2020

What's up with black?

@@ -255,7 +255,7 @@ async def register(app: web.Application):
credentials_attr_mime_types_get,
allow_head=False,
),
web.post("/credential/{credential_id}/remove", credentials_remove),
web.delete("/credential/{credential_id}/remove", credentials_remove),
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't it just be web.delete("/credential/{credential_id}" ..?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey, yeah! I will push a change first thing tomorrow.

@andrewwhitehead andrewwhitehead merged commit 278c8ce into openwallet-foundation:master Oct 9, 2020
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.

3 participants