Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 24, 2024
1 parent 8daaca3 commit 0748cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/nuki_lock/nuki_lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ void NukiLockComponent::update_auth_data()
for(const auto& entry : authEntries)
{
ESP_LOGD(TAG, "Authorization entry[%d] type: %d name: %s", entry.authId, entry.idType, entry.name);
this->auth_entries_[entry.authId] = entry.name.c_str();
this->auth_entries_[entry.authId] = std::string(reinterpret_cast<const char*>(entry.name));
}
}

Expand Down

0 comments on commit 0748cf4

Please sign in to comment.