From f1a5f02b05bae013e1c7773328b773565031b3c6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Dec 2024 19:49:20 +0300 Subject: Steam: final version of getting access token via websockets --- protocols/Steam/src/api/friend_list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Steam/src/api') 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); } }; -- cgit v1.2.3