Closed LoicOuth closed 1 month ago
Hey @LoicOuth! 👋🏻
This error is coming from Transmit and not Ally.
We have pushed a beta version of Transmit V2, which should fix it. May you install it using the @adonisjs/transmit@next
tag and see how it goes?
The main changes are the way we can modify the routes defined by Transmit. You can remove the routeHandlerModifier
from your configuration (and remove the import of middleware) and copy-paste this into your route file.
import transmit from '@adonisjs/transmit/services/main'
transmit.registerRoute(() => {
// Your route's customization code here
})
Also, the method authorizeChannel
was renamed authorize
.
Let me know if it works for you. 👍🏻
Hello @RomainLanz,
Thanks for your quick response. I upgraded the Transmit package, and it's working great now. I apologize for bringing up this issue here, but it only appeared when I added the LinkedIn provider to my Ally config.
Have a good day ✌️
Great!
Since it is a beta version of the new Transmit package, could you please keep me updated if everything works fine?
You may have lost typings but this is going to be fixed for the final release.
Package version
5.0.2
Describe the bug
When I add linkedin provider inside ally config my node ace server crash with following error :
Here my ally config :
and my package.json
Reproduction repo
No response