1.4.8 with changed endpoint
This commit is contained in:
parent
ea026fc91d
commit
c109744a0e
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "cath",
|
||||
"version": "1.4.7",
|
||||
"version": "1.4.8",
|
||||
"description": "A powerful package that can interact with Cath API",
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -20,7 +20,7 @@ export class CODMClient {
|
|||
*/
|
||||
public async getperk(name: string): Promise<PerkData> {
|
||||
const data = await axios
|
||||
.get(`${config.api}/api/v1/codm/perks?name=${name}`, {
|
||||
.get(`${config.api}/api/v1/codm/perk?name=${name}`, {
|
||||
headers: {
|
||||
Authorization: this.key,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue