summary refs log tree commit diff stats
path: root/post.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-04 18:50:49 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-04 18:50:49 -0400
commitdb1dc5d8c2d1557b085b63cb8c511f5a9864b38e (patch)
tree280484dfbd18289ec57042f2d7edfe327b02425b /post.go
parent0590df3c76934157833a7c3dfe65fd725e30a924 (diff)
downloadgetwtxt-db1dc5d8c2d1557b085b63cb8c511f5a9864b38e.tar.gz
updated index.AddUser() calls to reflect new version of 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 7846c7e..3f571e3 100644
--- a/post.go
+++ b/post.go
@@ -52,7 +52,7 @@ func apiPostUser(w http.ResponseWriter, r *http.Request) {
 		log.Printf("Error Parsing User Data: %v\n", err.Error())
 	}
 
-	if err := twtxtCache.AddUser(nick, urls, uip, statuses); err != nil {
+	if err := twtxtCache.AddUser(nick, urls, "", uip, statuses); err != nil {
 		log400(w, r, "Error Adding User to Cache: "+err.Error())
 		return
 	}