Fixed typo

This commit is contained in:
2018-05-29 15:35:18 +09:00
parent c17ef15f98
commit 126e7ba684
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ func configure(app *aero.Application) *aero.Application {
auth.Install(app)
// Close the database node on shutdown
app.OnShutdown(arn.Node.Close)
app.OnEnd(arn.Node.Close)
// Check that this is the server
if !arn.Node.IsServer() && !arn.IsTest() {