Skip to content

Commit

Permalink
Answer fixes for events
Browse files Browse the repository at this point in the history
  • Loading branch information
boommyop committed Jun 10, 2022
1 parent 854e6f5 commit 156ed36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pocketdb/repositories/web/WebRpcRepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4605,7 +4605,7 @@ namespace PocketDb
a.String1,
orig.Height as Height,
a.BlockNum as BlockNum,
null, -- TODO (losty): value
null,
pa.String1,
paa.String2,
paa.String3,
Expand Down Expand Up @@ -5095,7 +5095,7 @@ namespace PocketDb
{"pocketnetteam", pocketnetteam},
{"money", money},
{"referal", referals},
{"answers", answers},
{"answer", answers},
{"comment", comments},
{"subscriber", subscribers},
{"commentscore", commentscores}, // TODO (losty): slow
Expand Down Expand Up @@ -5172,7 +5172,7 @@ namespace PocketDb
}

// Comment answers
if (filters.empty() || filters.find("answers") != filters.end()) {
if (filters.empty() || filters.find("answer") != filters.end()) {
TryBindStatementInt64(stmt, i++, heightMin);
TryBindStatementInt64(stmt, i++, heightMax);
TryBindStatementInt64(stmt, i++, heightMax);
Expand Down

0 comments on commit 156ed36

Please sign in to comment.