From 73028f4803b48ba136509c32050a8639191e1222 Mon Sep 17 00:00:00 2001 From: Avior Date: Tue, 20 Apr 2021 10:39:45 +0200 Subject: [PATCH] Fixed get serie pointing the old endpoint Signed-off-by: Avior --- tcgdex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcgdex.ts b/tcgdex.ts index ed24a3c..5bc4379 100644 --- a/tcgdex.ts +++ b/tcgdex.ts @@ -53,12 +53,12 @@ export default class TCGdex { } public async getSerie(expansion: string): Promise { - const req = this.rwgr(`/expansions/${expansion}/`) + const req = this.rwgr(`/series/${expansion}/`) return req.get() } public async getSeries(): Promise { - const req = this.rwgr(`/expansions/`) + const req = this.rwgr(`/series/`) return req.get() }