Add:
- Api upload background
- /api-client/api-validation.ts

### No Issue
This commit is contained in:
2025-08-27 17:41:42 +08:00
parent 4fc2c90702
commit d3c4f04e07
5 changed files with 142 additions and 27 deletions

View File

@@ -54,6 +54,8 @@ export default function ProfileEdit() {
return;
}
Toast.show({
type: "success",
text1: "Sukses",

View File

@@ -50,6 +50,11 @@ export default function UpdatePhotoProfile() {
dirId: DIRECTORY_ID.profile_foto,
});
console.log(
"response upload photo>>",
JSON.stringify(response, null, 2)
);
if (response.success) {
const fileId = response.data.id;
await apiUpdateProfile({