mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Fix inconsistent field names in javascript plugin hooks (#4869)
This commit is contained in:
@@ -57,6 +57,8 @@ func (t *jsPluginTask) makeOutput(o goja.Value) {
|
||||
func (t *jsPluginTask) initVM() error {
|
||||
// converting the Args field to map[string]interface{} is required, otherwise
|
||||
// it gets converted to an empty object
|
||||
// ideally this should have included json tags with the correct casing but changing
|
||||
// it now will result in a breaking change
|
||||
type pluginInput struct {
|
||||
// Server details to connect to the stash server.
|
||||
ServerConnection common.StashServerConnection
|
||||
|
||||
Reference in New Issue
Block a user