summary refs log tree commit diff stats
path: root/post.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-25 03:33:37 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-25 03:33:37 -0400
commit55c8ffa2d8ef4509fd0f8b2035ec9c4af7e41b77 (patch)
treeb02c2dfdc8b0f59ee7f38ded3e590596fa5f1947 /post.go
parentb8a47bb5d8e4e7213dac2f857908126106b3ad3a (diff)
downloadgetwtxt-55c8ffa2d8ef4509fd0f8b2035ec9c4af7e41b77.tar.gz
method names changed in registry lib
Diffstat (limited to 'post.go')
-rw-r--r--post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/post.go b/post.go
index 103c254..21b3286 100644
--- a/post.go
+++ b/post.go
@@ -39,7 +39,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 		remoteRegistries.List = append(remoteRegistries.List, urls)
 		remoteRegistries.Mu.Unlock()
 
-		if err := twtxtCache.ScrapeRemoteRegistry(urls); err != nil {
+		if err := twtxtCache.CrawlRemoteRegistry(urls); err != nil {
 			log400(w, r, err.Error())
 			return
 		}