Closed fabien0102 closed 3 years ago
I did introduced a bug in https://github.com/contiamo/restful-react/pull/301/commits/617d4f604b2bfa5cffb82c8733603c125be6d559#diff-2e6f87c49da8750d7ff365e15e082df94de0f5a63b5b414fa6f3c8908420e27dR359
The path need to be a template string to works as expected.
path
I also fixed the Poll component that had the encode function even without custom encoder.
Poll
encode
Why
I did introduced a bug in https://github.com/contiamo/restful-react/pull/301/commits/617d4f604b2bfa5cffb82c8733603c125be6d559#diff-2e6f87c49da8750d7ff365e15e082df94de0f5a63b5b414fa6f3c8908420e27dR359
The
path
need to be a template string to works as expected.I also fixed the
Poll
component that had theencode
function even without custom encoder.