Closed JSRossiter closed 2 years ago
Pretty minor issue, but took me a while to track down. When using BaseResource.find I get the following error unless I provide a sortBy option.
TypeError: Cannot read property '_modelAttribute' of undefined
I'm only using sequelize so unsure if it affects other databases.
sortBy should be set automatically to a default value though.
sortBy
Pretty minor issue, but took me a while to track down. When using BaseResource.find I get the following error unless I provide a sortBy option.
I'm only using sequelize so unsure if it affects other databases.