Added authGuard function and its implementations
Also refactored small code mistakes.
This commit is contained in:
@@ -6,7 +6,7 @@ require('./school-model')
|
||||
let MetaSchool = bookshelf.Model.extend({
|
||||
tableName: 'meta_school',
|
||||
schools() {
|
||||
return this.hasMany( 'School' )
|
||||
return this.hasMany('School')
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user