diff --git a/app/Services/MarhunPhotoService.php b/app/Services/MarhunPhotoService.php index 7c7bc6e2..22bafd7b 100644 --- a/app/Services/MarhunPhotoService.php +++ b/app/Services/MarhunPhotoService.php @@ -12,13 +12,11 @@ class MarhunPhotoService public function store(Request $request) { - $data = base64_encode($request->gambarMarhun->get()); $file_type = $request->gambarMarhun->extension(); $addfile = new FileMarhun(); $addfile->lelongbid_id = $request->lelongbid_id; $addfile->file_type = $file_type; - $addfile->filename = $data; if ($request->photo_type == 1) { $addfile->photo_type = 1; $addfile->save();