X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/00eedafbfdf2e60c7ffebb7e7ccf2a65ffa75b51..refs/heads/ldap_host_failover:/app/Actions/Webhook.php diff --git a/app/Actions/Webhook.php b/app/Actions/Webhook.php index 72a67ad92..3ed5bb56f 100644 --- a/app/Actions/Webhook.php +++ b/app/Actions/Webhook.php @@ -22,10 +22,10 @@ use Illuminate\Database\Eloquent\Relations\HasMany; */ class Webhook extends Model implements Loggable { - protected $fillable = ['name', 'endpoint', 'timeout']; - use HasFactory; + protected $fillable = ['name', 'endpoint', 'timeout']; + protected $casts = [ 'last_called_at' => 'datetime', 'last_errored_at' => 'datetime',