Skip to content

Commit

Permalink
pass service to server
Browse files Browse the repository at this point in the history
  • Loading branch information
leonlatsch committed May 7, 2024
1 parent a058ac2 commit 6822c70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ func main() {
case "JOB":
service.ObserveAndUpdateDns()
case "SERVER":
server := server.Server{}
server := server.Server{
Service: service,
}
server.StartApiServer()
}
}
Expand Down

0 comments on commit 6822c70

Please sign in to comment.