diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-28 15:14:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-28 15:14:10 +0300 |
commit | 373e78401f7ab116bc0c1787da125d5e46c901d5 (patch) | |
tree | 06b4ac8092c42ea5f3d039fe641fe43a895fb5c7 /protocols/SkypeWeb/src/requests/search.h | |
parent | 3f8d2fd0b0022c11e30ab47046013b0c58030d47 (diff) |
SkypeWeb: further shit cleaning
Diffstat (limited to 'protocols/SkypeWeb/src/requests/search.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/search.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/search.h b/protocols/SkypeWeb/src/requests/search.h index 3df9f2fda2..369e19651d 100644 --- a/protocols/SkypeWeb/src/requests/search.h +++ b/protocols/SkypeWeb/src/requests/search.h @@ -20,14 +20,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. struct GetSearchRequest : public AsyncHttpRequest
{
- GetSearchRequest(const char *string, CSkypeProto *ppro) :
- AsyncHttpRequest(REQUEST_GET, "skypegraph.skype.com/search/v1.1/namesearch/swx/", &CSkypeProto::OnSearch)
+ GetSearchRequest(const char *string) :
+ AsyncHttpRequest(REQUEST_GET, HOST_GRAPH, "/search/v1.1/namesearch/swx/", &CSkypeProto::OnSearch)
{
this << CHAR_PARAM("requestid", "skype.com-1.48.78-00000000-0000-0000-0000-000000000000")
<< CHAR_PARAM("locale", "en-US") << CHAR_PARAM("searchstring", string);
AddHeader("Accept", "application/json");
- AddHeader("X-Skypetoken", ppro->m_szApiToken);
}
};
|