summary refs log tree commit diff stats
path: root/post.go
diff options
context:
space:
mode:
Diffstat (limited to 'post.go')
-rw-r--r--post.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/post.go b/post.go
index 5091a0e..e829538 100644
--- a/post.go
+++ b/post.go
@@ -33,9 +33,9 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 	}
 
 	if remoteRegistry {
-		remote.Mu.Lock()
-		remote.List = append(remote.List, urls)
-		remote.Mu.Unlock()
+		remoteRegistries.Mu.Lock()
+		remoteRegistries.List = append(remoteRegistries.List, urls)
+		remoteRegistries.Mu.Unlock()
 
 		err := twtxtCache.ScrapeRemoteRegistry(urls)
 		if err != nil {