connect-session-sequelize icon indicating copy to clipboard operation
connect-session-sequelize copied to clipboard

Wrong return type on SequelizeStore.sync()?

Open Jupp56 opened this issue 1 year ago • 0 comments

Hi, a quick typescript heads-up: I think the return type of the sync() method on the SequelizeStore class should be a promise.

The sequelize docs show that syncing a model returns a promise here. In line 71 of connect-session-sequelize.js, this promise is returned to the caller.

I'll open and link a PR.

Jupp56 avatar Sep 29 '24 21:09 Jupp56