/accelerations -> /accelerator/accelerations
This commit is contained in:
parent
cde4af5930
commit
67cff804a6
@ -11,7 +11,7 @@ export interface Acceleration {
|
|||||||
class AccelerationApi {
|
class AccelerationApi {
|
||||||
public async $fetchAccelerations(): Promise<Acceleration[]> {
|
public async $fetchAccelerations(): Promise<Acceleration[]> {
|
||||||
if (config.MEMPOOL_SERVICES.ACCELERATIONS) {
|
if (config.MEMPOOL_SERVICES.ACCELERATIONS) {
|
||||||
const response = await query(`${config.MEMPOOL_SERVICES.API}/accelerations`);
|
const response = await query(`${config.MEMPOOL_SERVICES.API}/accelerator/accelerations`);
|
||||||
return (response as Acceleration[]) || [];
|
return (response as Acceleration[]) || [];
|
||||||
} else {
|
} else {
|
||||||
return [];
|
return [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user