Skip to content

Commit

Permalink
Remove another superfluous cast
Browse files Browse the repository at this point in the history
  • Loading branch information
jvoisin authored and fguillot committed Jan 24, 2025
1 parent ffe1be5 commit 4938a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ui/webauthn.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ func (h *handler) deleteCredential(w http.ResponseWriter, r *http.Request) {
return
}

err = h.store.DeleteCredentialByHandle(uid, []byte(credentialHandle))
err = h.store.DeleteCredentialByHandle(uid, credentialHandle)
if err != nil {
json.ServerError(w, r, err)
return
Expand Down

0 comments on commit 4938a94

Please sign in to comment.