},
onDelete: 'CASCADE'
})
- BlockedByAccounts: ServerBlocklistModel[]
+ BlockedBy: ServerBlocklistModel[]
static load (id: number, transaction?: Transaction): Promise<MServer> {
const query = {
}
isBlocked () {
- return this.BlockedByAccounts && this.BlockedByAccounts.length !== 0
+ return this.BlockedBy && this.BlockedBy.length !== 0
}
toFormattedJSON (this: MServerFormattable) {