rename all variants of naming that hold an AyaType value to "aType" (parameter) / "AType" (not parameter) everywhere front and back; "ayType", "objectType", "oType" all are used in various areas

This commit is contained in:
2021-03-23 17:06:05 +00:00
parent f1777818bd
commit 01655061f3
69 changed files with 196 additions and 228 deletions

View File

@@ -556,7 +556,7 @@ export default {
},
///////////////////////////////////
// POST FILE ATTACHMENTS
// @param {ayaId:objectid, ayaType:objectType, files:[array of files]}
// @param {ayaId:objectid, ayaType:aType, files:[array of files]}
//
async uploadAttachment(at) {
let that = this;
@@ -567,7 +567,7 @@ export default {
data.append(files[i].name, files[i]);
}
data.append("AttachToObjectType", at.ayaType);
data.append("AttachToAType", at.ayaType);
data.append("AttachToObjectId", at.ayaId);
data.append("Notes", at.notes);
data.append("FileData", at.fileData);
@@ -606,7 +606,7 @@ export default {
data.append(files[i].name, files[i]);
}
if (at.ayaType) {
data.append("ObjectType", at.ayaType);
data.append("AType", at.ayaType);
}
if (at.ayaId) {
data.append("ObjectId", at.ayaId);