Skip to content
This repository was archived by the owner on Mar 8, 2024. It is now read-only.
This repository was archived by the owner on Mar 8, 2024. It is now read-only.

DELETE does not actually delete a user? #595

@0xCLARITY

Description

@0xCLARITY

Expected Behavior

When I DELETE a user using the Admin API, and then subsequently GET that user using the public API with a header of payid+json, I should get a 404 - Not Found.

Actual Behavior

I get a 200 - OK, with a payload including the payId and an empty addresses array.

Context

When I inspect my local database, this PayID does not actually exist anymore after the DELETE operation, so there is probably a bug in our Public API and how we handle the payid+json header.

Steps to Reproduce

  1. Spin up the PayID server
  2. DELETE 127.0.0.1:8081/users/alice$127.0.0.1
  3. GET http://127.0.0.1:8080/alice + Accept: application/payid+json

Metadata

Metadata

Assignees

Labels

API: Public API RequestsIssues related to the PayID ProtocolBugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions