diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/api/Mod.ts (renamed from frontend/src/api/Mod.tsx) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/api/Mod.tsx b/frontend/src/api/Mod.ts index 9091379..1511f8b 100644 --- a/frontend/src/api/Mod.tsx +++ b/frontend/src/api/Mod.ts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import axios from "axios"; | 1 | import axios from "axios"; |
| 2 | import { url } from "./Api"; | 2 | import { url } from "@api/Api"; |
| 3 | import { ModMenuContent } from "../types/Content"; | 3 | import { ModMenuContent } from "@customTypes/Content"; |
| 4 | 4 | ||
| 5 | export const put_map_image = async (token: string, map_id: string, image: string): Promise<boolean> => { | 5 | export const put_map_image = async (token: string, map_id: string, image: string): Promise<boolean> => { |
| 6 | const response = await axios.put(url(`maps/${map_id}/image`), { | 6 | const response = await axios.put(url(`maps/${map_id}/image`), { |