Fix an error message

This commit is contained in:
Scarzy 2024-05-29 22:32:45 +01:00
parent 98a94dec29
commit f48c5ee252

View file

@ -114,8 +114,8 @@ class AssetFilesController extends Controller
return response()->json(Helper::formatStandardApiResponse('success', array(), trans('admin/hardware/message.upload.success')));
}
//
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/hardware/message.download.error', ['id' => $fileId])), 500);
// Send back an error message
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/hardware/message.download.error')), 500);
}
/**