I'm trying to do a queryRecord
search inside of my model
function and I seem to be hitting an error:
TypeError: Cannot convert undefined or null to object
My model()
looks like the following:
model() {
return this.store.queryRecord('model', { property: 'value' })
.then(doc => console.log(doc)) // This doesn't even invoke
}
Aucun commentaire:
Enregistrer un commentaire