- Removed unused constructor parameter in IPFSFileManager class - Renamed class method to for clarity - Updated import statement for the library to use function instead of the default import - Added method to retrieve the file type from the buffer - Modified the code to determine the file extension based on the MIME type using method - Updated the file name in the saveFileToLocal method to include the appropriate file extension based on the MIME type
2.3 KiB
2.3 KiB