inject deps
This commit is contained in:
@@ -102,7 +102,7 @@ func main() {
|
|||||||
defer firestoreClient.Close()
|
defer firestoreClient.Close()
|
||||||
|
|
||||||
// Initialize handler
|
// Initialize handler
|
||||||
h := handler.NewHandler(authSvc, humanSvc, networkSvc, particleSvc, depotSvc, waitlistSvc, livekitClient, firestoreClient)
|
h := handler.NewHandler(authSvc, humanSvc, networkSvc, particleSvc, depotSvc, waitlistSvc, billingSvc, livekitClient, firestoreClient)
|
||||||
|
|
||||||
// Helper to wrap handlers with auth middleware
|
// Helper to wrap handlers with auth middleware
|
||||||
withAuth := func(hf http.HandlerFunc) http.Handler {
|
withAuth := func(hf http.HandlerFunc) http.Handler {
|
||||||
|
|||||||
Reference in New Issue
Block a user