[FEAT] remove in upload cover the filename

This commit is contained in:
Edouard DUPIN 2024-06-11 23:48:43 +02:00
parent 0b57d8571c
commit 5f9d13d315

View File

@ -214,6 +214,15 @@ public class DataTools {
return data;
}
public static <CLASS_TYPE, ID_TYPE> Response uploadCover(
final Class<CLASS_TYPE> clazz,
final ID_TYPE id,
final InputStream fileInputStream,
final FormDataContentDisposition fileMetaData) {
return uploadCover(clazz, id, fileMetaData.getFileName(), fileInputStream, fileMetaData);
}
@Deprecated
public static <CLASS_TYPE, ID_TYPE> Response uploadCover(
final Class<CLASS_TYPE> clazz,
final ID_TYPE id,