summaryrefslogtreecommitdiff
path: root/libtmdb/httpClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtmdb/httpClient.cpp')
-rw-r--r--libtmdb/httpClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtmdb/httpClient.cpp b/libtmdb/httpClient.cpp
index 4331c07..45377cf 100644
--- a/libtmdb/httpClient.cpp
+++ b/libtmdb/httpClient.cpp
@@ -30,7 +30,7 @@ namespace TMDb {
HttpClient::appendQueryParameters(std::string & path, const Parameters & parameters) const
{
path += "?";
- appendQueryParameters(path, { "apikey", ApiKey });
+ appendQueryParameters(path, { "api_key", ApiKey });
for (const auto & nvp : parameters) {
if (nvp.second.value) {
path += "&";