Merge branch 'grpc' of ssh://**REDACTED**/~/c++/gradido_login_server into grpc

This commit is contained in:
Dario 2020-11-05 17:05:35 +01:00 committed by Ulf Gebhardt
commit 749bf5898c
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -146,7 +146,7 @@ Poco::JSON::Object* JsonCreateTransaction::creation(Poco::Dynamic::Var params)
if (mReceiverUser.isNull()) {
mReceiverUser = controller::User::create();
if (1 != mReceiverUser->load(*target_pubkey)) {
if (1 != mReceiverUser->load(target_pubkey->data())) {
mReceiverUser.assign(nullptr);
result = customStateError("not found", "receiver not found");
}
@ -265,4 +265,4 @@ bool JsonCreateTransaction::getTargetGroup(Poco::Dynamic::Var params)
return false;
}
return false;
}
}