aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/api/User.ts
diff options
context:
space:
mode:
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 @@
1import axios from "axios"; 1import axios from "axios";
2import { url } from "./Api"; 2import { url } from "@api/Api";
3import { UserProfile } from "../types/Profile"; 3import { UserProfile } from "@customTypes/Profile";
4 4
5export const get_user = async (user_id: string): Promise<UserProfile> => { 5export 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}`));