diff options
Diffstat (limited to '')
| -rw-r--r-- | frontend/src/api/User.ts (renamed from frontend/src/api/User.tsx) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend/src/api/User.tsx b/frontend/src/api/User.ts index c4d1944..88da0f2 100644 --- a/frontend/src/api/User.tsx +++ b/frontend/src/api/User.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 { UserProfile } from "../types/Profile"; | 3 | import { UserProfile } from "@customTypes/Profile"; |
| 4 | 4 | ||
| 5 | export const get_user = async (user_id: string): Promise<UserProfile> => { | 5 | export const get_user = async (user_id: string): Promise<UserProfile> => { |
| 6 | const response = await axios.get(url(`users/${user_id}`)); | 6 | const response = await axios.get(url(`users/${user_id}`)); |