This commit is contained in:
KillerBossOriginal 2023-12-07 19:08:56 +01:00
parent ad971bbf03
commit 0365b3cf2d

View file

@ -12,6 +12,6 @@ export default class IAManager {
async get(id: number) { async get(id: number) {
let req = await axios.get(`${this.URL}/IA/${id}`); let req = await axios.get(`${this.URL}/IA/${id}`);
if (req.status == 404) throw new Error("User not Found"); if (req.status == 404) throw new Error("User not Found");
return req.data.credits; return req.data;
} }
} }