Skip to content

Commit

Permalink
fix: debug json returned in case of success
Browse files Browse the repository at this point in the history
  • Loading branch information
AmanMenda committed Apr 30, 2024
1 parent d03a4a3 commit 249fe2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions Sources/App/Logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ namespace Stuckfish

if (res.status_code == HttpStatusCode::SUCCESS)
{
std::cout << res.text;
return true;
}
return false;
Expand Down
1 change: 0 additions & 1 deletion Sources/UI/UserInfosPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ namespace Stuckfish
_errorOccured = true;
_errorMessage = ErrorsToString(Errors::USERNAME_NOT_FOUND);
}

return;
}
}

0 comments on commit 249fe2b

Please sign in to comment.