diff options
author | JellyBrick <shlee1503@naver.com> | 2018-06-22 22:02:23 +0900 |
---|---|---|
committer | JellyBrick <shlee1503@naver.com> | 2018-06-22 22:02:23 +0900 |
commit | 8cdd0f4551e6d3d22c4fc753fb20e82918a43090 (patch) | |
tree | e58df6554d61f2eb09cf7beb30cc06cf50dbca57 /src/Api.cpp | |
parent | fea0c2ffb669923959df17ba904448e159d22489 (diff) |
Resolved #42
Diffstat (limited to 'src/Api.cpp')
-rw-r--r-- | src/Api.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Api.cpp b/src/Api.cpp index e6a39d7..3d8d3f6 100644 --- a/src/Api.cpp +++ b/src/Api.cpp @@ -245,7 +245,7 @@ Message::Ptr Api::sendInvoice(int64_t chatId, const std::string& title, const st args.emplace_back("provider_token", providerToken); args.emplace_back("start_parameter", startParameter); args.emplace_back("currency", currency); - args.emplace_back("prices", TgTypeParser::getInstance().parseArray<LabeledPrice>(&TgTypeParser::parseLabeledPrice, prices); + args.emplace_back("prices", TgTypeParser::getInstance().parseArray<LabeledPrice>(&TgTypeParser::parseLabeledPrice, prices)); if (!providerData.empty()) { args.emplace_back("provider_data", providerData); } |