Fixed typo on email relation in model

This commit is contained in:
Rish 2019-11-07 15:52:01 +07:00
parent 2421516aa6
commit 7e0da18f85

View File

@ -576,7 +576,7 @@ Post = ghostBookshelf.Model.extend({
return this.hasOne('PostsMeta', 'post_id');
},
email: function postsMeta() {
email: function email() {
return this.hasOne('Email', 'post_id');
},