mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-04-12 19:41:51 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user