From d92bb20b9ef0893cb12b513c36537d285bdb16c1 Mon Sep 17 00:00:00 2001 From: ThirstilyVague Date: Mon, 10 Jun 2024 18:30:30 -0400 Subject: [PATCH] Update defaultDataForPath.js to work with hookContext (#329) input.Args.hookContext object attribute `ID` seems to have been renamed to `id` --- plugins/defaultDataForPath/defaultDataForPath.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/defaultDataForPath/defaultDataForPath.js b/plugins/defaultDataForPath/defaultDataForPath.js index 4318c42..aa8d61b 100644 --- a/plugins/defaultDataForPath/defaultDataForPath.js +++ b/plugins/defaultDataForPath/defaultDataForPath.js @@ -19,7 +19,7 @@ function ok() { function main() { var hookContext = input.Args.hookContext; var type = hookContext.type; - var ID = hookContext.ID; + var ID = hookContext.id; if (!type || !ID) { // just return