Skip to content

Commit

Permalink
Update sessions/Sources/App/Application+build.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Joannis Orlandos <[email protected]>
  • Loading branch information
adam-fowler and Joannis committed Jan 16, 2024
1 parent 1777810 commit e347005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sessions/Sources/App/Application+build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func buildApplication(_ arguments: AppArguments, configuration: HBApplicationCon
let userController = UserController(fluent: fluent, sessionStorage: sessionStorage)
userController.addRoutes(to: router.group("user"))

var application = HBApplication(responder: router.buildResponder(), server: .http1())
var application = HBApplication(router: router, server: .http1())
application.addServices(fluent, persist)
return application
}

0 comments on commit e347005

Please sign in to comment.