Add edit message

This commit is contained in:
2026-01-24 13:20:45 +03:00
parent a690116399
commit 8c0c063bac
17 changed files with 1237 additions and 112 deletions
+5
View File
@@ -26,6 +26,11 @@ export const userService = {
return response.data;
},
getUserById: async (userId: number): Promise<User> => {
const response = await apiClient.get(`/users/${userId}`);
return response.data;
},
updateProfile: async (data: UserUpdate): Promise<User> => {
const response = await apiClient.put('/users/me', data);
return response.data;