elixir-waffle/waffle_ecto

Uploading not works with binary as base64 decoded

Opened this issue · 0 comments

Here is example https://github.com/Victoria91/base64_example. After you run migrations and setup env variables for AWS, you can run Base64Example.Organization.create_organization that will create organization with image as binary (base64 decoded), if image was not uploaded, it will try to attach the same image with store method provided by definition. In my case upload via cast_attachments never worked, however it always worked via .store

P.S. Looks like there is open pull request related to this issue