mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
Plugin hooks (#1452)
* Refactor session and plugin code * Add context to job tasks * Show hooks in plugins page * Refactor session management
This commit is contained in:
@@ -50,8 +50,7 @@ func (t *rawPluginTask) Start() error {
|
||||
go func() {
|
||||
defer stdin.Close()
|
||||
|
||||
input := t.buildPluginInput()
|
||||
inBytes, _ := json.Marshal(input)
|
||||
inBytes, _ := json.Marshal(t.input)
|
||||
io.WriteString(stdin, string(inBytes))
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user