diff --git a/src/OnionooService.ts b/src/OnionooService.ts index 1c16f20..29e598e 100644 --- a/src/OnionooService.ts +++ b/src/OnionooService.ts @@ -8,7 +8,8 @@ export class OnionooService { } async details(): Promise { - return await axios.get(`${this.baseUrl}/details`); + const response = await axios.get(`${this.baseUrl}/details`).then(); + return response.data; } }