mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
client: fix v3/delete_devices method (#393)
This commit is contained in:
parent
050fbbd466
commit
1d6bea5fe3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue