Skip to content

[Question] Missing fields on speed test completed event #2325

@jdvr

Description

@jdvr

Pre-work

  • I have read the docs.
  • I have searched open and closed issues.
  • I agree to follow this project's Code of Conduct.

Description

When configuring a webhook the payload doesn´t match the documented payload.

Expected Behavior

Get all documented fields (here)
The actual payload has less data (source)

               ->payload([
                    'result_id' => $event->result->id,
                    'site_name' => config('app.name'),
                    'isp' => $event->result->isp,
                    'ping' => $event->result->ping,
                    'download' => $event->result->downloadBits,
                    'upload' => $event->result->uploadBits,
                    'packetLoss' => $event->result->packet_loss,
                    'speedtest_url' => $event->result->result_url,
                    'url' => url('/admin/results'),
                ])

Steps to Reproduce

  1. Set a webhook as notification
  2. Run a test

Deployment Environment

Docker Compose

Application Information

root@976dffe541a6:/# php artisan about --json
Could not open input file: artisan

What browser(s) are you seeing the problem on?

Firefox

Logs

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions