diff --git a/package.json b/package.json index eda2599..24c27c8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cath", - "version": "1.3.5-dev", + "version": "1.3.6", "description": "A powerful package that can interact with Cath API", "main": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/src/URLClient/urlclient.ts b/src/URLClient/urlclient.ts index c4a7373..960eeb2 100644 --- a/src/URLClient/urlclient.ts +++ b/src/URLClient/urlclient.ts @@ -28,8 +28,6 @@ export class URLClient { .then(res => res.data); if (data?.name) { return data?.name; - } else { - throw new CathError(`Code already exist`); } } }