diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2024-11-04 13:47:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 13:47:50 +0300 |
| commit | eae19bb1b047b3568e7a9a624b50e80886e56331 (patch) | |
| tree | aa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/api/Mod.ts | |
| parent | fix: remove insert trigger on users, check insert user on login err (#224) (diff) | |
| download | lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.gz lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.bz2 lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.zip | |
feat/frontend: optimizing imports, file extensions (#230)
Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
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`), { |