Skip to content

Commit e791fa0

Browse files
committed
Tweak pattern
1 parent 9f95d84 commit e791fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord/HttpTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ public static function isUnboundEndpoint(Request $request): bool
417417
{
418418
$url = $request->getUrl();
419419
return
420-
(strpos($url, '/interactions') !== false && strpos($url, '/callback') !== false)
420+
(strpos($url, '/interactions') === 0 && strpos($url, '/callback') !== false)
421421
|| strpos($url, '/webhooks') === 0;
422422
}
423423

0 commit comments

Comments
 (0)