mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +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 {
|
||||
if args == nil {
|
||||
args = make(OperationInput)
|
||||
}
|
||||
if operation != nil {
|
||||
applyDefaultArgs(args, operation.DefaultArgs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user