This commit is contained in:
J. Nick Koston
2025-06-06 07:13:36 +01:00
parent d6106f9832
commit 4091f39355

View File

@@ -1510,7 +1510,7 @@ APIConnection::EncodedMessage APIConnection::try_send_update_state_(EntityBase *
resp.release_url = update->update_info.release_url;
}
resp.key = update->get_object_id_hash();
return encode_message_to_buffer(msg, UpdateStateResponse::message_type, conn, remaining_size, is_single);
return encode_message_to_buffer(resp, UpdateStateResponse::message_type, conn, remaining_size, is_single);
}
void APIConnection::send_update_info(update::UpdateEntity *update) {
this->schedule_message_(update, &APIConnection::try_send_update_info_, ListEntitiesUpdateResponse::message_type);