Skip to content

events array added to 'Finally set up Hocuspocus...' section in README #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

theroadfreak
Copy link

Addition of an array of events that the webhook extension for Hocuspocus needs to send to the Laravel api endpoint.

The logic cant work without all those events, as the default setup of the webhook extension is only the Events.onChange event. You can see this in the documentation here

// [optional] array of events that will trigger a webhook
// defaults to [ Events.onChange ]
      events: [Events.onConnect, Events.onCreate, Events.onChange, Events.onDisconnect],

@theroadfreak
Copy link
Author

Also I want to use this opportunity to thank you for your fork that solves the outdated packages and makes this useable in newer versions of Laravel. Its a shame that the devs have abandoned their project... But I'm sure that thru combined efforts we can provide a more straight forward experience for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant