Strapi-provider-upload-cloudinary does not get customConfig options passed (uploads end up in Cloudinary root, not in a folder)

I have a similar issue. The folder creation and upload is working for me. However, the other two options to avoid a random string concatenated to the filename don’t work :thinking: even tried to pass true/false as a string (“true”/“false”). any ideas on my mistake?


module.exports = ({ env }) => ({

  // ...

  upload: {

    provider: "cloudinary",

    providerOptions: {

      cloud_name: env("CLOUDINARY_NAME"),

      api_key: env("CLOUDINARY_KEY"),

      api_secret: env("CLOUDINARY_SECRET")

    },

    actionOptions: {

      upload: {

        folder: "test",

        use_filename: true,

        unique_filename: false

      },

      delete: {}

    }

  }

  // ...

}); 
1 Like