diff options
Diffstat (limited to 'frontend/src/api/Games.ts')
| -rw-r--r-- | frontend/src/api/Games.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/frontend/src/api/Games.ts b/frontend/src/api/Games.ts index 0e47091..b739f80 100644 --- a/frontend/src/api/Games.ts +++ b/frontend/src/api/Games.ts | |||
| @@ -1,9 +1,9 @@ | |||
| 1 | import axios from 'axios'; | 1 | import axios from "axios"; |
| 2 | import { url } from '@api/Api'; | 2 | import { url } from "@api/Api"; |
| 3 | import { GameChapter, GamesChapters } from '@customTypes/Chapters'; | 3 | import { GameChapter, GamesChapters } from "@customTypes/Chapters"; |
| 4 | import { Game } from '@customTypes/Game'; | 4 | import { Game } from "@customTypes/Game"; |
| 5 | import { Map } from '@customTypes/Map'; | 5 | import { Map } from "@customTypes/Map"; |
| 6 | import { Search } from '@customTypes/Search'; | 6 | import { Search } from "@customTypes/Search"; |
| 7 | 7 | ||
| 8 | export const get_games = async (): Promise<Game[]> => { | 8 | export const get_games = async (): Promise<Game[]> => { |
| 9 | const response = await axios.get(url(`games`)); | 9 | const response = await axios.get(url(`games`)); |