We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a649622 + c980595 commit 39f7a8fCopy full SHA for 39f7a8f
src/Api.cpp
@@ -28,7 +28,7 @@ std::vector<Update::Ptr> Api::getUpdates(std::int32_t offset,
28
if (allowedUpdates != nullptr) {
29
std::string allowedUpdatesJson = _tgTypeParser.parseArray<std::string>(
30
[] (const std::string& s)->std::string {
31
- return s;
+ return '"' + s + '"';
32
}, *allowedUpdates);
33
args.emplace_back("allowed_updates", allowedUpdatesJson);
34
}
0 commit comments