mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
Fix panic
This commit is contained in:
parent
2e35221003
commit
56896d7c7d
1 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue