From 58cb473f7a7772b1de331ee05cbb8c3dcc9da724 Mon Sep 17 00:00:00 2001 From: Ray Foss Date: Thu, 31 Aug 2023 08:14:33 -0500 Subject: [PATCH] fix(docs): minor, Update hooks.md Variable start doesn't exist, but startTime does --- docs/api/hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/hooks.md b/docs/api/hooks.md index a20e788397..0709f96cf7 100644 --- a/docs/api/hooks.md +++ b/docs/api/hooks.md @@ -27,7 +27,7 @@ app.service('messages').hooks({ await next() - console.log(`Method ${context.method} on ${context.path} took ${Date.now() - start}ms`) + console.log(`Method ${context.method} on ${context.path} took ${Date.now() - startTime}ms`) } ] },