diff --git a/src/rest/run_method.ts b/src/rest/run_method.ts index 36e044456..8787762b2 100644 --- a/src/rest/run_method.ts +++ b/src/rest/run_method.ts @@ -8,7 +8,7 @@ export function runMethod( body?: unknown, retryCount = 0, bucketId?: string | null, -): Promise { +): Promise | undefined { rest.eventHandlers.debug?.("requestCreate", { method, url,