|
|
|
@ -63,7 +63,7 @@ final class Comments |
|
|
|
$data = json_decode($payload); |
|
|
|
$data = json_decode($payload); |
|
|
|
|
|
|
|
|
|
|
|
// If your handler doesn’t compute zaps/links yet, reuse your helpers here: |
|
|
|
// If your handler doesn’t compute zaps/links yet, reuse your helpers here: |
|
|
|
$this->list = (array)$data->comments; |
|
|
|
$this->list = $data->comments; |
|
|
|
$this->authorsMetadata = (array)$data->profiles ?? []; |
|
|
|
$this->authorsMetadata = (array)$data->profiles ?? []; |
|
|
|
|
|
|
|
|
|
|
|
$this->parseZaps(); // your existing method – fills $zapAmounts & $zappers |
|
|
|
$this->parseZaps(); // your existing method – fills $zapAmounts & $zappers |
|
|
|
|