Profile
Add: - Api upload background - /api-client/api-validation.ts ### No Issue
This commit is contained in:
@@ -54,6 +54,8 @@ export default function ProfileEdit() {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Toast.show({
|
||||
type: "success",
|
||||
text1: "Sukses",
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user