diff --git a/auth/auth.go b/auth/auth.go index b864192..3018f3c 100644 --- a/auth/auth.go +++ b/auth/auth.go @@ -53,5 +53,5 @@ func GetAuthHeader(login string, apiKey string, url string, body string) (string } bodyHash := ComputeHash(body) hash := ComputeHash(fmt.Sprintf("%s;%s;%s;%s;%s;%s", login, timestamp, salt, apiKey, url, bodyHash)) - return hash, nil + return fmt.Sprintf("%s;%s;%s;%s", login, timestamp, salt, hash), nil }