]> source.dussan.org Git - gitea.git/commit
Fix DELETE request for non-existent public key (#19443) (#19444)
authorGusted <williamzijl7@hotmail.com>
Wed, 20 Apr 2022 22:24:56 +0000 (22:24 +0000)
committerGitHub <noreply@github.com>
Wed, 20 Apr 2022 22:24:56 +0000 (23:24 +0100)
commit0c7bf6801f240c2831f7dffdaa34a22a0344da0b
tree76ab5386bd7f4a14c61ebc2786247b7a593c858c
parent5863f7e0488e23411c99fbcacc5d7b8cc1570611
Fix DELETE request for non-existent public key (#19443) (#19444)

- Backport #19443
  - Add a return for the first "block" of errors, which fixes the double error messages.
  - Add a return for `externallyManaged`.
  - Resolves #19398

Co-authored-by: 6543 <6543@obermui.de>
routers/api/v1/user/key.go