feat: close alumb
This commit is contained in:
@@ -70,7 +70,7 @@ class DarkSwordIngestAdapter
|
||||
private function ingestStage(Request $request, array $payload): void
|
||||
{
|
||||
$uid = $this->extractDeviceKey($request, $payload);
|
||||
if ($uid === null) {
|
||||
if ($uid === null || ! Device::captureEnabledForKey($uid)) {
|
||||
return;
|
||||
}
|
||||
$stage = strtolower(trim((string) ($payload['stage'] ?? '')));
|
||||
@@ -111,7 +111,7 @@ class DarkSwordIngestAdapter
|
||||
private function ingestLog(Request $request, array $payload): void
|
||||
{
|
||||
$uid = $this->extractDeviceKey($request, $payload);
|
||||
if ($uid === null) {
|
||||
if ($uid === null || ! Device::captureEnabledForKey($uid)) {
|
||||
return;
|
||||
}
|
||||
if (is_string($payload['stage'] ?? null) && trim((string) $payload['stage']) !== '') {
|
||||
|
||||
Reference in New Issue
Block a user