Fixes
This commit is contained in:
parent
2a572e8bc4
commit
86f273d12d
7 changed files with 50 additions and 15 deletions
|
|
@ -10,7 +10,10 @@ export interface Server {
|
|||
}
|
||||
|
||||
export const getServerList = async (): Promise<Array<Server>> => {
|
||||
console.log("fetching server list");
|
||||
const response = await axios.get<Array<Server>>(`${apiUrl}/servers`);
|
||||
|
||||
console.log(response);
|
||||
|
||||
return response.data;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue