I started using convoy js sdk and got stuck on an error [Error: Not Found] { statusCode: 404 } all because I mistakenly added a / at the end of my base uri.
I had to change and use the API directly in the project.
So this more like a little improvement to help remove the trailing slash if it exists.
I started using convoy js sdk and got stuck on an error
[Error: Not Found] { statusCode: 404 }all because I mistakenly added a/at the end of my base uri.I had to change and use the API directly in the project.
So this more like a little improvement to help remove the trailing slash if it exists.