nestjs-slack
nestjs-slack copied to clipboard
Node-fetch - Only absolute URL are supported?
Hi @cobraz, hope you re doing well, i am suddenly running into this issue, and do not know why. Here are the relevant code parts.
The error and a apart of the url:

The initialization:

The call:

I really do not know why this is happening, because the webhook url ist valid and working...
Do you have any ideas for me ?
Kind regards Meywether
Hm, you might need to set channel. We should probably resolve to that first channel.
this.slackService.sendText('${system} ${msg}`, { channel: 'backend_notification' });
Hi @cobraz,
nope, still not working sorry:


Any futher ideas ? I am really grounded XD
Kind regards :)
I tried also only one channel without the channels array and placing also the url directly into the code. Sorry but still not working :(
Maybe you can share a repro?
@cobraz, for sure: https://github.com/Meywether/slack_repro
I am very eager to see where my mistake is :) Best regards Meywether
@cobraz Any news for me :) Thank you