Skip to content

Commit 78c8f73

Browse files
committed
use POST instead of DELETE
Signed-off-by: Grant Linville <[email protected]>
1 parent 3b30d52 commit 78c8f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/sdkserver/routes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (s *server) addRoutes(mux *http.ServeMux) {
6262
mux.HandleFunc("POST /credentials", s.listCredentials)
6363
mux.HandleFunc("POST /credentials/create", s.createCredential)
6464
mux.HandleFunc("POST /credentials/reveal", s.revealCredential)
65-
mux.HandleFunc("DELETE /credentials", s.deleteCredential)
65+
mux.HandleFunc("POST /credentials/delete", s.deleteCredential)
6666
}
6767

6868
// health just provides an endpoint for checking whether the server is running and accessible.

0 commit comments

Comments
 (0)