Skip to main content

Can't pass the value of result.public_id after submitting the image.


1 comment

  • Michal Kuperman

    Hi Aleksandr,

    After the file is uploaded to your account, the upload method would return a promise which contains an Asset with all the asset's information including the public_id, or an Error if the upload failed. 

    For example: 

    const asset = await this.$cloudinary.upload(file, {
    upload_preset: 'my_preset',
    console.log (asset);

    Let us know if you have any further questions.


Post is closed for comments.