I’m trying to save file and associated object together like this:
const object = Parse.Object.extend("Object");
const file = new Parse.File(fileName, { base64: fileData },fileMimeType);
object.set("file",file);
...//Other parameters
object.save();
Parse file is saved and still exist even object is failed to save. Is this normal behaviour? Do I have to handle error myself and delete file in catch block?