aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/event_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/event_context.cpp')
-rw-r--r--lib/csapi/event_context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/event_context.cpp b/lib/csapi/event_context.cpp
index 37de58ab..9e4c6963 100644
--- a/lib/csapi/event_context.cpp
+++ b/lib/csapi/event_context.cpp
@@ -26,7 +26,7 @@ class GetEventContextJob::Private
BaseJob::Query queryToGetEventContext(Omittable<int> limit)
{
BaseJob::Query _q;
- addToQuery<IfNotEmpty>(_q, "limit", limit);
+ addParam<IfNotEmpty>(_q, "limit", limit);
return _q;
}