This commit is contained in:
user 2018-08-06 21:23:32 +01:00
parent 0ccef5db53
commit df432beeb4
2 changed files with 1 additions and 3 deletions

View file

@ -18,7 +18,6 @@ package query
import (
"context"
"crypto/tls"
"encoding/json"
"net/http"
"net/url"
@ -69,7 +68,7 @@ func (a *AppServiceQueryAPI) RoomAliasExists(
if err != nil {
return err
}
req := req.WithContent(ctx)
req = req.WithContext(ctx)
resp, err := a.HTTPClient.Do(req)
if resp != nil {

View file

@ -17,7 +17,6 @@ package workers
import (
"bytes"
"context"
"crypto/tls"
"encoding/json"
"fmt"
"math"