Spot the bug in the nested it receiver

from Scope functions
Kotlin 2.4.10 intermediate 4 min 1 issue to find

The function should send every order belonging to the found customer. Find the receiver mistake.

kotlin
data class Customer(val id: String)
data class Order(val customerId: String)

fun notify(customer: Customer?, orders: List<Order>) {
    customer?.let {
        orders.filter { it.customerId == it.id }
            .forEach { order -> send(order) }
    }
}
Open in playground
Report an error