profile update

This commit is contained in:
2026-04-07 12:20:05 +07:00
parent a1af516879
commit 91f3b16634
9 changed files with 227 additions and 135 deletions

4
api.ts
View File

@@ -2,7 +2,9 @@ export const API_URL_ROOT = process.env.NEXT_PUBLIC_API_URL_ROOT || "";
export const API = {
User : {
CURRENT: `${API_URL_ROOT}/users/current`
CURRENT: `${API_URL_ROOT}/users/current`,
MEDIA: `${API_URL_ROOT}/users/current/media`,
Update: (Id: number | string) => `${API_URL_ROOT}/users/${Id}`,
},
Auth : {
SIGNUP: `${API_URL_ROOT}/auth/signup`,