Initial implementation of improved sever model and logic

This commit is contained in:
Dane Everitt 2017-02-02 18:21:36 -05:00
parent fb589a7f4e
commit d4bcf0be59
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
31 changed files with 223 additions and 158 deletions

View file

@ -48,7 +48,7 @@ class NotificationService
public function __construct(Server $server)
{
$this->server = $server;
$this->user = User::findOrFail($server->owner);
$this->user = User::findOrFail($server->owner_id);
}
public function pass(array $notification)