Append Item from Media Library to Content Type using EntityService

Since I’m using this to create a plugin, I figured out that I can pass the return value of strapis upload plugin:

async function create(data) {
  let createData = {
    data: {
      image: await strapi.plugins.upload.services.upload.upload({...});
    }
  };
  return await strapi.entityService.create('plugin::seetickets.event', createData);
}