diff options
Diffstat (limited to 'test/integration/sipcli/main.go')
-rw-r--r-- | test/integration/sipcli/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/sipcli/main.go b/test/integration/sipcli/main.go index 163d21d..e211169 100644 --- a/test/integration/sipcli/main.go +++ b/test/integration/sipcli/main.go @@ -15,7 +15,7 @@ const authURI string = "http://%s:%s/3/auth" const certURI string = "http://%s:%s/3/cert" func formatCredentials(user, pass string) (string, error) { - c := sip2.Credentials{user, pass} + c := sip2.Credentials{User: user, Password: pass} credJson, err := json.Marshal(c) if err != nil { return "", err |