diff --git a/package-lock.json b/package-lock.json index e1fd4679..16252285 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "sims", - "version": "6.2.3", + "version": "6.2.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 94a9c53f..5436bb9f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sims", - "version": "6.2.3", + "version": "6.2.4", "description": "A super-simple fsp simulator", "main": "src/index.js", "author": "ModusBox", diff --git a/src/oracle/handler.js b/src/oracle/handler.js index b12aaf2b..62f37185 100644 --- a/src/oracle/handler.js +++ b/src/oracle/handler.js @@ -239,7 +239,7 @@ exports.getRequestById = function (request, h) { ['success', 'fsp', 'operation', 'source', 'destination'] ).startTimer() const responseData = batchRequestCache.get(request.params.requestId) - requestsCache.del(request.params.requestId) + batchRequestCache.del(request.params.requestId) histTimerEnd({ success: true, operation: 'getRequestById' }) return h.response(responseData).code(200) }