mirror of
https://gitee.com/openharmony/useriam_user_auth_framework
synced 2024-11-23 07:39:51 +00:00
update frameworks/native/executors/src/async_command/enroll_command.cpp.
Signed-off-by: liuziwei <liuziwei12@huawei.com>
This commit is contained in:
parent
fb3d306153
commit
4b95e804d1
@ -54,8 +54,8 @@ ResultCode EnrollCommand::SendRequest()
|
||||
IF_FALSE_LOGE_AND_RETURN_VAL(getExtraInfoRet == true, ResultCode::GENERAL_ERROR);
|
||||
|
||||
int32_t userId;
|
||||
bool getuserId = attributes_->GetInt32Value(Attributes::ATTR_USER_ID, userId);
|
||||
IF_FALSE_LOGE_AND_RETURN_VAL(getuserId == true, ResultCode::GENERAL_ERROR);
|
||||
bool getUserId = attributes_->GetInt32Value(Attributes::ATTR_USER_ID, userId);
|
||||
IF_FALSE_LOGE_AND_RETURN_VAL(getUserId == true, ResultCode::GENERAL_ERROR);
|
||||
|
||||
IamHitraceHelper traceHelper("hdi Enroll");
|
||||
ResultCode ret = hdi->Enroll(scheduleId_, (EnrollParam) { tokenId, extraInfo, userId}, shared_from_this());
|
||||
|
Loading…
Reference in New Issue
Block a user