From 7e995fe9b00aeb7aa8ba36c09e520b3bf1e3debf Mon Sep 17 00:00:00 2001 From: "Abdulmhsen B. A. A" Date: Fri, 15 Apr 2022 23:34:04 +0300 Subject: [PATCH] Fixed incorrect user matching when enforcing user ids. --- src/Libs/helpers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Libs/helpers.php b/src/Libs/helpers.php index a931f4cc..db03bea0 100644 --- a/src/Libs/helpers.php +++ b/src/Libs/helpers.php @@ -320,7 +320,7 @@ if (!function_exists('serveHttpRequest')) { continue; } - $userId = ag($info, 'user_id', null); + $userId = ag($info, 'user', null); $matchUser = true === ag($info, 'webhook.match.user') && null !== $userId; if (true === $matchUser && $userId !== $request->getAttribute('USER_ID', null)) { continue;