Skip to content

Commit 4a7d833

Browse files
author
Kevin Li
committed
Fixing some errors based off PR
1 parent 0b342b2 commit 4a7d833

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/network.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,10 @@ func NewAPIRequest(r *Request, api string, args []string, isAsync bool) (map[str
203203
params.Add(key, value)
204204
}
205205
}
206+
signatureversion := "3"
207+
expiresKey := "expires"
206208
params.Add("response", "json")
207-
params.Add("signatureversion", "3")
209+
params.Add("signatureversion", signatureversion)
208210
params.Add(expiresKey, time.Now().UTC().Add(15 * time.Minute).Format(time.RFC3339))
209211

210212
var encodedParams string

0 commit comments

Comments
 (0)