mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-19 16:14:39 +00:00
fix (test): broken unit test
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
"io"
|
||||
"net/http"
|
||||
"slices"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
. "github.com/mickael-kerjean/filestash/server/common"
|
||||
@@ -79,7 +80,7 @@ func (this *RunApi) Execute(params map[string]string, input map[string]string) (
|
||||
for k, v := range input {
|
||||
output[k] = v
|
||||
}
|
||||
output["http::status"] = string(resp.StatusCode)
|
||||
output["http::status"] = strconv.Itoa(resp.StatusCode)
|
||||
output["http::response"] = string(responseBody)
|
||||
return output, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user