.
This commit is contained in:
parent
ad971bbf03
commit
0365b3cf2d
1 changed files with 1 additions and 1 deletions
|
@ -12,6 +12,6 @@ export default class IAManager {
|
|||
async get(id: number) {
|
||||
let req = await axios.get(`${this.URL}/IA/${id}`);
|
||||
if (req.status == 404) throw new Error("User not Found");
|
||||
return req.data.credits;
|
||||
return req.data;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue