mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 12:24:38 +03:00
Fix panic
This commit is contained in:
@@ -227,6 +227,9 @@ func (c Cache) ListPluginTasks() []*PluginTask {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func buildPluginInput(plugin *Config, operation *OperationConfig, serverConnection common.StashServerConnection, args OperationInput) common.PluginInput {
|
func buildPluginInput(plugin *Config, operation *OperationConfig, serverConnection common.StashServerConnection, args OperationInput) common.PluginInput {
|
||||||
|
if args == nil {
|
||||||
|
args = make(OperationInput)
|
||||||
|
}
|
||||||
if operation != nil {
|
if operation != nil {
|
||||||
applyDefaultArgs(args, operation.DefaultArgs)
|
applyDefaultArgs(args, operation.DefaultArgs)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user