attach method does not accept arrays, so what can be the best way to upload multiple files.
I tried this so far
.attach('logo[0]', <filepath>)
.attach('logo[1]', <filepath>)
but it ends up in multiple files with different keys
this should work:
.attach('logo', <filepath>)
.attach('logo', <filepath>)
Most helpful comment
this should work: