diff options
Diffstat (limited to 'protocols/SkypeWeb/src/requests/profile.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/profile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/profile.h b/protocols/SkypeWeb/src/requests/profile.h index 0a8c119a44..95e36dde10 100644 --- a/protocols/SkypeWeb/src/requests/profile.h +++ b/protocols/SkypeWeb/src/requests/profile.h @@ -21,11 +21,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. class GetProfileRequest : public HttpRequest
{
public:
- GetProfileRequest(const char *token, const char *skypename = "self") :
+ GetProfileRequest(LoginInfo &li, const char *skypename = "self") :
HttpRequest(REQUEST_GET, FORMAT, "api.skype.com/users/%s/profile", skypename)
{
Headers
- << CHAR_VALUE("X-Skypetoken", token)
+ << CHAR_VALUE("X-Skypetoken", li.api.szToken)
<< CHAR_VALUE("Accept", "application/json");
}
};
|