fix syntax error

This commit is contained in:
Dario 2020-03-16 11:59:30 +01:00
parent 0366c782f1
commit 77aa0ebe09
2 changed files with 8 additions and 1 deletions

View File

@ -140,6 +140,13 @@ namespace model {
return select;
}
size_t User::updatePrivkey() {
lock();
if (mPrivateKey.isNull()) return 0;
auto result = updateIntoDB("privkey", mPrivateKey.value());
unlock();
return result;
}
/*
std::string mEmail;

View File

@ -43,7 +43,7 @@ namespace model {
std::string toHTMLString();
// specific db operation
inline size_t updatePrivkey() { lock(); auto result = updateIntoDB("privkey", mPrivateKey); unlock(); return result; }
size_t updatePrivkey();
// default getter unlocked