fix field name

This commit is contained in:
einhorn_b 2021-10-12 16:17:19 +02:00
parent 3247dad586
commit 3b487ab2cb

View File

@ -113,7 +113,7 @@ namespace model {
int UserHasElopageTask::run()
{
auto elopage_buy = Poco::AutoPtr<model::table::ElopageBuy>(new model::table::ElopageBuy);
bool hasElopage = elopage_buy->isExistInDB("email", mEmail);
bool hasElopage = elopage_buy->isExistInDB("payer_email", mEmail);
return 0;
}
}