Return pointer to http.Client in activityPubClient()

pull/249/head
Matt Baer 5 years ago
parent bc9843dfa3
commit 8d3e755c8f
  1. 4
      activitypub.go

@ -62,8 +62,8 @@ func (ru *RemoteUser) AsPerson() *activitystreams.Person {
} }
} }
func activityPubClient() http.Client { func activityPubClient() *http.Client {
return http.Client{ return &http.Client{
Timeout: 15 * time.Second, Timeout: 15 * time.Second,
} }
} }

Loading…
Cancel
Save