mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
add ability to stream command output as a response
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ func TestStaticParams(t *testing.T) {
|
||||
ID: "test",
|
||||
Headers: spHeaders,
|
||||
}
|
||||
_, err = handleHook(spHook, r)
|
||||
_, err = handleHook(spHook, r, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected error: %v\n", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user