mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
feat(photo/client|sever): fetch photo on upload
This commit is contained in:
1 parent
6fc469c4a3
commit
1e771e87af
2 files changed
+12
-2
No files matched your search
@@ -127,6 +127,10 @@ function takePhoto() {
|
||||
);
|
||||
}
|
||||
|
||||
onNet(events.CAMERA_UPLOAD_PHOTO_SUCCESS, () => {
|
||||
emitNet(events.CAMERA_FETCH_PHOTOS);
|
||||
})
|
||||
|
||||
// delete photo
|
||||
|
||||
RegisterNuiCallbackType(events.CAMERA_DELETE_PHOTO);
|
||||
|
||||
Reference in new issue
Block a user