imagekit-java
imagekit-java copied to clipboard
Unable to set `overwriteFile` to `false`
I think there's a bug in this part:
https://github.com/imagekit-developer/imagekit-java/blob/48e94f18a0e83c6d914d90d9143c3ceb40574715/imagekit-sdk/src/main/java/io/imagekit/sdk/tasks/MultipartBuilder.java#L58
We can't set overwriteFile to false, and the default value of overwriteFile is true.
Therefore, there's no way to set overwriteFile to false.
FYI, useUniqueFilename has a different and correct logic. It seems other flags also have buggy logic around this part i.e. can't set to false and the default isn't false.
Thank you.