fix: build

Deskripsi:
- update build

No Issues'
This commit is contained in:
amel
2025-06-16 17:16:34 +08:00
parent 9728e2ea23
commit c71292d966
5 changed files with 36 additions and 1 deletions

View File

@@ -21,6 +21,15 @@ export const apiGetProfile = async ({ id }: { id: string }) => {
return response.data;
};
export const apiEditProfile = async (data: FormData) => {
const response = await api.put(`/mobile/user/profile`, data, {
headers: {
'Content-Type': 'multipart/form-data',
},
})
return response.data;
};
export const apiGetSearch = async ({ text, user }: { text: string, user: string }) => {
const response = await api.get(`mobile/home/search?search=${text}&user=${user}`);
return response.data;