fix seconds
This commit is contained in:
parent
4df03267b2
commit
1fbb2bde6c
|
@ -9,6 +9,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -46,6 +47,7 @@ func (c *Profile) Run(ctx Context) error {
|
||||||
|
|
||||||
q := req.URL.Query()
|
q := req.URL.Query()
|
||||||
if c.Time > 0 {
|
if c.Time > 0 {
|
||||||
|
q.Add("seconds", strconv.Itoa(c.Time))
|
||||||
}
|
}
|
||||||
req.URL.RawQuery = q.Encode()
|
req.URL.RawQuery = q.Encode()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue