summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/asm/files.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests/asm/files.h')
-rw-r--r--protocols/SkypeWeb/src/requests/asm/files.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/requests/asm/files.h b/protocols/SkypeWeb/src/requests/asm/files.h
index 89d42274d3..721aac16b3 100644
--- a/protocols/SkypeWeb/src/requests/asm/files.h
+++ b/protocols/SkypeWeb/src/requests/asm/files.h
@@ -8,7 +8,7 @@ public:
{
flags &= (~NLHRF_DUMPASTEXT);
Headers
- << FORMAT_VALUE("Authorization", "skype_token %s", ppro->m_szApiToken)
+ << FORMAT_VALUE("Authorization", "skype_token %s", ppro->m_szApiToken.get())
<< CHAR_VALUE("Content-Type", "text/json");
JSONNode node, jPermissions, jPermission(JSON_ARRAY);
@@ -30,7 +30,7 @@ public:
HttpRequest(REQUEST_PUT, FORMAT, "api.asm.skype.com/v1/objects/%s/content/original", szObject)
{
Headers
- << FORMAT_VALUE("Authorization", "skype_token %s", ppro->m_szApiToken)
+ << FORMAT_VALUE("Authorization", "skype_token %s", ppro->m_szApiToken.get())
<< CHAR_VALUE("Content-Type", "application/octet-stream");
pData = (char*)mir_alloc(size);