-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
Hello,
Looks like I have all set properly, and files are getting uploaded on DO Spaces.
With previous ( I think previous media library) library removing and uploading works.
Now, is little bit changed in version 11, so we are using as per documentation, $media->delete();
However, file is not really deleted from DO spaces. It si removed from Media model tho.
Note that uploading does work.
Here is the piece of code:
try {
$media->delete();
} catch (\Exception $e) {
Log::info($e->getMessage());
return response()->json(['message' => 'Failed to delete media'], 500);
}No error is catch, but media is still on DO, not removed.
Metadata
Metadata
Assignees
Labels
No labels