Skip to content

Commit

Permalink
Fixed webhook primary ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Oct 9, 2020
1 parent e8a1d36 commit e3bf93a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Models/Webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@

class Webhook extends Model
{
public $number;
public $id;
public $event;
public $url;
public $is_active;
public $created_at;
public $updated_at;
protected $entity = 'webhooks';
protected $primaryKey = 'number';
protected $primaryKey = 'id';
protected $modelClass = self::class;
}

0 comments on commit e3bf93a

Please sign in to comment.