aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2022-12-29 20:08:16 +0000
committerJulio Capote <jcapote@gmail.com>2022-12-29 20:08:16 +0000
commita4288b06bf13210721c8f2fae64bc12c118f9041 (patch)
tree49808a68d61aa450c6625477e468968fd3198ded /main.go
parent5a990719a02f4fd33817a2188be17b3b50498b49 (diff)
downloadcommunique-a4288b06bf13210721c8f2fae64bc12c118f9041.tar.gz
refactor
Diffstat (limited to '')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 064ba93..fa81264 100644
--- a/main.go
+++ b/main.go
@@ -43,7 +43,7 @@ func main() {
persister := models.NewPersister(log, db)
// Registry
- registry := registry.NewRegistry(cfg, db)
+ registry := registry.NewRegistry(cfg, persister)
// Servers
var mainWg sync.WaitGroup