client: fix v3/delete_devices method (#393)
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
fmseals 2025-08-29 16:34:06 +00:00 committed by GitHub
commit 1d6bea5fe3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2471,7 +2471,7 @@ func (cli *Client) DeleteDevice(ctx context.Context, deviceID id.DeviceID, req *
func (cli *Client) DeleteDevices(ctx context.Context, req *ReqDeleteDevices) error {
urlPath := cli.BuildClientURL("v3", "delete_devices")
_, err := cli.MakeRequest(ctx, http.MethodDelete, urlPath, req, nil)
_, err := cli.MakeRequest(ctx, http.MethodPost, urlPath, req, nil)
return err
}