Add missing context

This commit is contained in:
Neil Alexander 2021-03-05 16:18:31 +00:00
parent 7e87efb4cc
commit ede262ab6e
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -123,7 +123,7 @@ func (a *AppServiceQueryAPI) UserIDExists(
if err != nil {
return err
}
resp, err := a.HTTPClient.Do(req)
resp, err := a.HTTPClient.Do(req.WithContext(ctx))
if resp != nil {
defer func() {
err = resp.Body.Close()