summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/app_info.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-12-25 13:48:29 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-12-25 13:48:29 +0300
commita17538fc10c6dc15cf4585a10a59bc45f35654fa (patch)
treee8866d73deb12f485ea79af48a48e0fe987e25ef /protocols/Steam/src/api/app_info.h
parentf6aad2c5d45cff731663694811273c69b9b5e59a (diff)
fixes #4811 (Steam: Add now playing game title support)
Diffstat (limited to 'protocols/Steam/src/api/app_info.h')
-rw-r--r--protocols/Steam/src/api/app_info.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/api/app_info.h b/protocols/Steam/src/api/app_info.h
index cf54e52adf..d8a187d444 100644
--- a/protocols/Steam/src/api/app_info.h
+++ b/protocols/Steam/src/api/app_info.h
@@ -3,10 +3,10 @@
struct GetAppInfoRequest : public HttpRequest
{
- GetAppInfoRequest(const char *token, const char *appIds) :
+ GetAppInfoRequest(const char *token, uint32_t appId) :
HttpRequest(REQUEST_GET, "/ISteamGameOAuth/GetAppInfo/v0001")
{
- this << CHAR_PARAM("access_token", token) << CHAR_PARAM("appIds", appIds);
+ this << CHAR_PARAM("access_token", token) << INT_PARAM("appIds", appId);
}
//{