diff --git a/server.go b/server.go index 03eb057..aba331f 100644 --- a/server.go +++ b/server.go @@ -37,7 +37,8 @@ func main() { } svc := &apiServer{ - client: conn, + submissions: db.Submissions(), + users: db.Users(), } srv, err := api.NewServer(