adonisjs/transmit

`authorizeChannel` cannot throw an error.

Closed this issue · 1 comments

Package version

0.2.3

Describe the bug

Hello,

I'm trying to authenticate my user within an authorizeChannel but throwing an error does not return false.

Reproduction repo

No response

Ok, I think there is a missing await at that line https://github.com/adonisjs/transmit/blob/main/providers/transmit_provider.ts#L45

Same for the beforeUnsubscribe.