Add logging around webhooks
This commit is contained in:
parent
d24ca06eac
commit
30f85d8e23
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ class ValidProjectForClient implements Rule
|
|||
// $this->input['project_id'] = $this->decodePrimaryKey($this->input['project_id']);
|
||||
// }
|
||||
|
||||
$project = Project::find($this->input['project_id']);
|
||||
$project = Project::withTrashed()->find($this->input['project_id']);
|
||||
|
||||
if (! $project) {
|
||||
$this->message = 'Project not found';
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ class WebhookSingle implements ShouldQueue
|
|||
$subscription = Webhook::with('company')->find($this->subscription_id);
|
||||
|
||||
if ($subscription) {
|
||||
nlog("firing event ID {$subscription->event_id}");
|
||||
nlog("firing event ID {$subscription->event_id} company_id {$subscription->company_id}");
|
||||
}
|
||||
|
||||
if (!$subscription) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue