Updated proxyType variable name for readability

This commit is contained in:
Cecylia Bocovich 2019-11-26 10:36:27 -05:00
parent 981abffbd9
commit 97554e03e4
5 changed files with 30 additions and 30 deletions

View file

@ -78,11 +78,11 @@ type ProxyPollRequest struct {
Type string
}
func EncodePollRequest(sid string, ptype string) ([]byte, error) {
func EncodePollRequest(sid string, proxyType string) ([]byte, error) {
return json.Marshal(ProxyPollRequest{
Sid: sid,
Version: version,
Type: ptype,
Type: proxyType,
})
}