fix: use the correct PUT request method

This commit is contained in:
Alfred Kamanda 2025-07-01 00:36:06 +03:00
parent 50ee455e70
commit 12940bb5f2
Signed by: Alfred-mk
GPG Key ID: 7EA3D01708908703

View File

@ -593,7 +593,7 @@ func updateEnsAlias(ctx context.Context, publicKey string, name string) (*models
if err != nil {
return nil, err
}
req, err := http.NewRequest("POST", endpoint, bytes.NewBuffer(payloadBytes))
req, err := http.NewRequest("PUT", endpoint, bytes.NewBuffer(payloadBytes))
if err != nil {
return nil, err
}