1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

Remove another superfluous cast

This commit is contained in:
jvoisin 2025-01-20 16:18:31 +01:00 committed by Frédéric Guillot
parent ffe1be59ea
commit 4938a94968

View file

@ -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