summary refs log tree commit diff stats
path: root/svc/sqlite.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/sqlite.go')
-rw-r--r--svc/sqlite.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/svc/sqlite.go b/svc/sqlite.go
index 3f50402..69103dc 100644
--- a/svc/sqlite.go
+++ b/svc/sqlite.go
@@ -102,12 +102,13 @@ func (lite dbSqlite) pull() {
 
 	twtxtCache.Mu.Lock()
 	for rows.Next() {
+		var uid int
 		var urls string
 		var isUser bool
 		var dataKey string
 		var dBlob []byte
 
-		errLog("", rows.Scan(&urls, &isUser, &dataKey, &dBlob))
+		errLog("", rows.Scan(&uid, &urls, &isUser, &dataKey, &dBlob))
 
 		if !isUser {
 			remoteRegistries.Mu.Lock()