mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-29 13:52:10 +03:00
Fixed typo on email relation in model
This commit is contained in:
parent
2421516aa6
commit
7e0da18f85
@ -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');
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user