sync missing updates
This commit is contained in:
parent
2314da4763
commit
434f29b967
9 changed files with 63 additions and 76 deletions
|
@ -30,3 +30,11 @@ export const fetchMetagameWorlds = async (): Promise<MetagameWorld[]> => {
|
|||
const data: MetagameWorld[] = await response.json();
|
||||
return data;
|
||||
};
|
||||
|
||||
export const fetchSingleMetagameWorld = async (
|
||||
id: string | number
|
||||
): Promise<MetagameWorld> => {
|
||||
const response = await fetch(`https://metagame.ps2.live/${id}`);
|
||||
const data: MetagameWorld = await response.json();
|
||||
return data;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue