Skip to content

Commit

Permalink
gate check monitoring
Browse files Browse the repository at this point in the history
fix email segments context
  • Loading branch information
ilvalerione committed Mar 3, 2020
1 parent 650ad71 commit 8a31f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/GateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function beforeGateCheck(Authenticatable $user, $ability, $arguments)
if (Inspector::isRecording()) {
$this->segments[
$this->generateUniqueKey($this->formatArguments($arguments))
] = Inspector::startSegment('gate', $ability);
] = Inspector::startSegment('gate', 'Authorization:'.$ability);
}
}

Expand Down

0 comments on commit 8a31f1b

Please sign in to comment.