summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-12 19:49:20 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-12 19:49:20 +0300
commitf1a5f02b05bae013e1c7773328b773565031b3c6 (patch)
treee84907061d4258e3f676f863f80988c87a38dde7 /protocols/Steam/src/api
parentf761cffcda21c5fcb1500e992ba0f03ead3a690f (diff)
Steam: final version of getting access token via websockets
Diffstat (limited to 'protocols/Steam/src/api')
-rw-r--r--protocols/Steam/src/api/friend_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/api/friend_list.h b/protocols/Steam/src/api/friend_list.h
index 84d8536bcb..857ec9ec0c 100644
--- a/protocols/Steam/src/api/friend_list.h
+++ b/protocols/Steam/src/api/friend_list.h
@@ -4,10 +4,10 @@
class GetFriendListRequest : public HttpRequest
{
public:
- GetFriendListRequest(const char *token, const char *steamId, const char *relationship) :
+ GetFriendListRequest(const char *token, int64_t steamId, const char *relationship) :
HttpRequest(REQUEST_GET, "/ISteamUserOAuth/GetFriendList/v0001")
{
- this << CHAR_PARAM("access_token", token) << CHAR_PARAM("steamid", steamId) << CHAR_PARAM("relationship", relationship);
+ this << CHAR_PARAM("access_token", token) << INT64_PARAM("steamid", steamId) << CHAR_PARAM("relationship", relationship);
}
};