1.3.6 with bug fix
This commit is contained in:
parent
de7c17566f
commit
2bc76d0ee5
2 changed files with 1 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "cath",
|
"name": "cath",
|
||||||
"version": "1.3.5-dev",
|
"version": "1.3.6",
|
||||||
"description": "A powerful package that can interact with Cath API",
|
"description": "A powerful package that can interact with Cath API",
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"types": "./dist/index.d.ts",
|
"types": "./dist/index.d.ts",
|
||||||
|
|
|
@ -28,8 +28,6 @@ export class URLClient {
|
||||||
.then(res => res.data);
|
.then(res => res.data);
|
||||||
if (data?.name) {
|
if (data?.name) {
|
||||||
return data?.name;
|
return data?.name;
|
||||||
} else {
|
|
||||||
throw new CathError(`Code already exist`);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue