~ubuntuone-control-tower/unity-scope-click/trunk

« back to all changes in this revision

Viewing changes to libclickscope/click/reviews.cpp

Bring back the refactor to sign all requests. Fixes: #1483866

Show diffs side-by-side

added added

removed removed

Lines of Context:
131
131
    click::web::CallParams params;
132
132
    params.add(click::REVIEWS_QUERY_ARGNAME, package_name.c_str());
133
133
    QSharedPointer<click::web::Response> response = client->call
134
 
        (get_base_url() + click::REVIEWS_API_PATH, params);
 
134
        (get_base_url() + click::REVIEWS_API_PATH, "GET", false,
 
135
         std::map<std::string, std::string>{}, "", params);
135
136
 
136
137
    QObject::connect(response.data(), &click::web::Response::finished,
137
138
                [=](QString reply) {