summary refs log tree commit diff stats
path: root/svc/post.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-18 23:32:46 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-18 23:32:46 -0400
commit41398b172a5fd908195a31fe1cd1e727eac95051 (patch)
treefd22fc061476aadd61e648dbb4fc198dd6565b32 /svc/post.go
parentc5daf914198948ef96cb463641ecc734471bcdd5 (diff)
downloadgetwtxt-41398b172a5fd908195a31fe1cd1e727eac95051.tar.gz
changes related to registry-v0.3.0 v0.4.3
Diffstat (limited to 'svc/post.go')
-rw-r--r--svc/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/svc/post.go b/svc/post.go
index 46032b9..9baafbe 100644
--- a/svc/post.go
+++ b/svc/post.go
@@ -28,7 +28,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 
 	uip := getIPFromCtx(r.Context())
 
-	out, remoteRegistry, err := registry.GetTwtxt(urls)
+	out, remoteRegistry, err := registry.GetTwtxt(urls, twtxtCache.Client)
 	if err != nil {
 		errHTTP(w, r, fmt.Errorf("error fetching twtxt Data: %v", err.Error()), http.StatusBadRequest)
 		return