Something went wrong. Please contact UploadThing and provide the following cause: TypeError: $.get(.
it does complete the upload, but still throws this error:
const uploader = createUploader('imageUploader', {
onClientUploadComplete: (res) => {
const updateOK = saveDogPicture(editingDog.id, res[0].url);
console.log('updateOK', updateOK);
},
onUploadError: (error) => {
console.log(
ERROR! ${error.message});
}
});
0 Replies