django-passkeys icon indicating copy to clipboard operation
django-passkeys copied to clipboard

API view response handling

Open christian-thieme opened this issue 1 year ago • 1 comments

The success/failure of a api call should depend on the status code returned by the view, not the response body.

The response body should be for informational purposes only.

Example: delKey and toggleKey

Javascript needs to by adapted

christian-thieme avatar Nov 04 '24 17:11 christian-thieme

You can open PR for that

mkalioby avatar Nov 04 '24 18:11 mkalioby