Skip to content

Commit

Permalink
Ignore badge fort short account
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Jul 6, 2022
1 parent 1576c8d commit 071f6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketdb/repositories/web/WebRpcRepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace PocketDb
auto [ok2, avatar] = TryGetColumnString(stmt, index+1);
auto [ok3, badge] = TryGetColumnString(stmt, index+2);
auto [ok4, reputation] = TryGetColumnInt64(stmt, index+3);
if (ok1 && ok2 && ok3 && ok4) {
if (ok1 && ok2 && ok4) {
return ShortAccount(name, avatar, badge, reputation);
}
return std::nullopt;
Expand Down

0 comments on commit 071f6ed

Please sign in to comment.