Update defaultDataForPath.js to work with hookContext (#329)

input.Args.hookContext object attribute `ID` seems to have been renamed to `id`
This commit is contained in:
ThirstilyVague
2024-06-10 18:30:30 -04:00
committed by GitHub
parent 74259d59f5
commit d92bb20b9e

View File

@@ -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