Skip to content

Commit 2536f2b

Browse files
authored
Update README.md
Changed method name in alternative implementation to match v.3.5.2.
1 parent 95c611e commit 2536f2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ If your application server (maybe due to security reasons) is not allowed to do
131131
1. Manually download the configuration file from Queue-it Go self-service portal, save it on your application server and load it from local disk
132132
2. Use an internal gateway server to download the configuration file and save to application server
133133
3. Specify the configuration in code without using the Trigger/Action paradigm. In this case it is important *only to queue-up page requests* and not requests for resources or AJAX calls.
134-
This can be done by adding custom filtering logic before caling the `KnownUser::resolveRequestByLocalEventConfig()` method.
134+
This can be done by adding custom filtering logic before caling the `KnownUser::resolveQueueRequestByLocalConfig()` method.
135135

136136
The following is an example of how to specify the configuration in code:
137137

@@ -159,7 +159,7 @@ try
159159
$currentUrlWithoutQueueitToken = preg_replace("/([\\?&])("."queueittoken"."=[^&]*)/i", "", $fullUrl);
160160

161161
//Verify if the user has been through the queue
162-
$result = QueueIT\KnownUserV3\SDK\KnownUser::resolveRequestByLocalEventConfig(
162+
$result = QueueIT\KnownUserV3\SDK\KnownUser::resolveQueueRequestByLocalConfig(
163163
$currentUrlWithoutQueueitToken, $queueittoken, $eventConfig, $customerID, $secretKey);
164164

165165
if($result->doRedirect())

0 commit comments

Comments
 (0)