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",
|
"name": "cath",
|
||||||
"version": "1.4.7",
|
"version": "1.4.8",
|
||||||
"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",
|
||||||
|
|
|
@ -20,7 +20,7 @@ export class CODMClient {
|
||||||
*/
|
*/
|
||||||
public async getperk(name: string): Promise<PerkData> {
|
public async getperk(name: string): Promise<PerkData> {
|
||||||
const data = await axios
|
const data = await axios
|
||||||
.get(`${config.api}/api/v1/codm/perks?name=${name}`, {
|
.get(`${config.api}/api/v1/codm/perk?name=${name}`, {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: this.key,
|
Authorization: this.key,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue