aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/api/User.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/api/User.ts')
-rw-r--r--frontend/src/api/User.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/api/User.ts b/frontend/src/api/User.ts
index 4ce21e1..004aa22 100644
--- a/frontend/src/api/User.ts
+++ b/frontend/src/api/User.ts
@@ -1,6 +1,6 @@
1import axios from 'axios'; 1import axios from "axios";
2import { url } from '@api/Api'; 2import { url } from "@api/Api";
3import { UserProfile } from '@customTypes/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}`));