workadventure/tests/tests/utils/debug.ts
2021-12-03 09:28:30 +01:00

18 lines
402 B
TypeScript

import axios from "axios";
export async function getPusherDump(): Promise<any> {
return (await axios({
url: 'http://pusher.workadventure.localhost/dump?token=123',
method: 'get',
})).data;
}
export async function getBackDump(): Promise<any> {
return (await axios({
url: 'http://api.workadventure.localhost/dump?token=123',
method: 'get',
})).data;
}