How to use strapi upload plugin inside code in version 3.1.6?

前端 未结 0 1924
滥情空心
滥情空心 2021-01-24 08:27

In version 3.0.0-beta.18 I used this :

const buffers = await uploadService.bufferize(files.attachment);
  await uploadService.upload(buffers, config);


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题