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