-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
Description
Bug report
During the development of the image service module, I found that the delete method in the AbstractFileProviderService type could not be executed, which resulted in the inability to delete images stored by the third-party image service provider.### Describe the bug
A clear and concise description of what the bug is.
System information
Medusa version (including plugins):
- @medusajs/medusa(1.20.6-preview-20240809113122)
- @medusajs/file-local-next(0.0.3-preview-20240809113122)
Node.js version: v20.11.1
Database: postgresql 16
Operating system: macos 14.4.1
Browser (if relevant): Chrome
Screenshots
Code snippets
// [PATH] @medusajs/utils/dist/file/abstract-file-provider.d.ts
....
// Executed successfully.
upload(file: FileTypes.ProviderUploadFileDTO): Promise<FileTypes.ProviderFileResultDTO>;
// Unable to execute
delete(file: FileTypes.ProviderDeleteFileDTO): Promise<void>;
....sradevski and suvajit79