You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ router.get('/', function (req, res, next) {
72
72
var customerId =""; // Your Queue-it customer ID
73
73
var secretKey =""; // Your 72 char secret key as specified in Go Queue-it self-service platform
74
74
75
-
var httpContextProvider =initializeExpressHttpContentProvider(req, res);
75
+
var httpContextProvider =initializeExpressHttpContextProvider(req, res);
76
76
77
77
var knownUser =QueueIT.KnownUserV3.SDK.KnownUser;
78
78
var queueitToken =req.query[knownUser.QueueITTokenKey];
@@ -124,7 +124,7 @@ module.exports = router;
124
124
125
125
Code to initialize a httpContextProvider in Express (requires node module 'cookie-parser'):
126
126
```
127
-
function initializeExpressHttpContentProvider(req, res) {
127
+
function initializeExpressHttpContextProvider(req, res) {
128
128
return {
129
129
getHttpRequest: function () {
130
130
var httpRequest = {
@@ -234,7 +234,7 @@ router.get('/', function (req, res, next) {
234
234
// queueConfig.culture = "da-DK" // Optional - Culture of the queue ticket layout in the format specified here: https://msdn.microsoft.com/en-us/library/ee825488(v=cs.20).aspx Default is to use what is specified on Event
235
235
// queueConfig.layoutName = "NameOfYourCustomLayout" // Optional - Name of the queue ticket layout - e.g. "Default layout by Queue-it". Default is to take what is specified on the Event
236
236
237
-
var httpContextProvider =initializeExpressHttpContentProvider(req, res);
237
+
var httpContextProvider =initializeExpressHttpContextProvider(req, res);
238
238
239
239
var knownUser =QueueIT.KnownUserV3.SDK.KnownUser;
240
240
var queueitToken =req.query[knownUser.QueueITTokenKey];
@@ -319,7 +319,7 @@ router.get('/', function (req, res, next) {
319
319
var customerId =""; // Your Queue-it customer ID
320
320
var secretKey =""; // Your 72 char secret key as specified in Go Queue-it self-service platform
321
321
322
-
var httpContextProvider =initializeExpressHttpContentProvider(req, res);
322
+
var httpContextProvider =initializeExpressHttpContextProvider(req, res);
323
323
324
324
var knownUser =QueueIT.KnownUserV3.SDK.KnownUser;
325
325
var queueitToken =req.query[knownUser.QueueITTokenKey];
0 commit comments