diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/api/Maps.ts (renamed from frontend/src/api/Maps.tsx) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/api/Maps.tsx b/frontend/src/api/Maps.ts index fc50293..89657b5 100644 --- a/frontend/src/api/Maps.tsx +++ b/frontend/src/api/Maps.ts | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | import axios from "axios"; | 1 | import axios from "axios"; |
| 2 | import { url } from "./Api"; | 2 | import { url } from "@api/Api"; |
| 3 | import { MapDiscussionContent, UploadRunContent } from "../types/Content"; | 3 | import { MapDiscussionContent, UploadRunContent } from "@customTypes/Content"; |
| 4 | import { MapSummary, MapLeaderboard, MapDiscussions, MapDiscussion } from "../types/Map"; | 4 | import { MapSummary, MapLeaderboard, MapDiscussions, MapDiscussion } from "@customTypes/Map"; |
| 5 | 5 | ||
| 6 | export const get_map_summary = async (map_id: string): Promise<MapSummary> => { | 6 | export const get_map_summary = async (map_id: string): Promise<MapSummary> => { |
| 7 | const response = await axios.get(url(`maps/${map_id}/summary`)) | 7 | const response = await axios.get(url(`maps/${map_id}/summary`)) |