Skip to content

Commit

Permalink
Merge pull request angular-fullstack#2752 from zeripath/issue-2751
Browse files Browse the repository at this point in the history
fix(server): wsInitPromise should be passed into then in a function
  • Loading branch information
Awk34 authored Jul 23, 2018
2 parents 4271660 + 31ba302 commit 9524734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/app/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function startServer() {
}
<% if(filters.sequelize) { %>
sqldb.sequelize.sync()<% if(filters.ws) { %>
.then(wsInitPromise)
.then(() => wsInitPromise)
.then(primus => {
app.primus = primus;
})<% } %><% if(filters.models) { %>
Expand Down

0 comments on commit 9524734

Please sign in to comment.