frain-dev / convoy.js

Convoy SDK for JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Invalid type for `retry_count` parameter

0xMukesh opened this issue · comments

The type for the retry_count parameter under the subscription create function is string but shouldn't it be number? I have created trying a subscription with retry_count as a string and got an error saying that "incorrect JSON type for field retry_config.retry_count"

image

I have tried sending the request with the retry_count parameter as a number instead of a string and it worked.

Hi @0xMukesh, thanks for pointing this out. We'll update the type for the corresponding field and release an updated version.