From 8d05a58af2a990efafd05dc357ba35fb14db9f4e Mon Sep 17 00:00:00 2001 From: Ale Figueroa Date: Tue, 5 Mar 2019 19:03:27 -0600 Subject: [PATCH] Debug search --- src/Recorder.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Recorder.ts b/src/Recorder.ts index d9aabc4..9f4bd24 100644 --- a/src/Recorder.ts +++ b/src/Recorder.ts @@ -135,6 +135,12 @@ export class Recorder { delete lokiQuery.body delete lokiQuery.host + if (request.method === 'GET') { + delete lokiQuery.bodyHash + } + + debug('searching') + debug(lokiQuery) return tapes.where(obj => isMatch(obj, lokiQuery))[0] }