diff options
Diffstat (limited to 'protocols/SkypeWeb/src/requests/search.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/search.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/search.h b/protocols/SkypeWeb/src/requests/search.h index 6a6f87d9e4..23cbf48233 100644 --- a/protocols/SkypeWeb/src/requests/search.h +++ b/protocols/SkypeWeb/src/requests/search.h @@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. class GetSearchRequest : public HttpRequest
{
public:
- GetSearchRequest(const char *token, const char *string) :
+ GetSearchRequest(const char *string, LoginInfo &li) :
HttpRequest(REQUEST_GET, "api.skype.com/search/users/any")
{
Url
@@ -29,7 +29,7 @@ public: Headers
<< CHAR_VALUE("Accept", "application/json")
<< CHAR_VALUE("Connection", "keep-alive")
- << CHAR_VALUE("X-Skypetoken", token);
+ << CHAR_VALUE("X-Skypetoken", li.api.szToken);
}
};
|