Skip to content

Commit

Permalink
Update defaultDataForPath.js to work with hookContext (#329)
Browse files Browse the repository at this point in the history
input.Args.hookContext object attribute `ID` seems to have been renamed to `id`
  • Loading branch information
ThirstilyVague authored Jun 10, 2024
1 parent 74259d5 commit d92bb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/defaultDataForPath/defaultDataForPath.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d92bb20

Please sign in to comment.