Renames in Frontend

This commit is contained in:
Qstick
2020-05-15 23:32:52 -04:00
committed by ta264
parent ee4e44b81a
commit ee43ccf620
387 changed files with 4036 additions and 4364 deletions
@@ -0,0 +1,29 @@
function getNewAuthor(author, payload) {
const {
rootFolderPath,
monitor,
qualityProfileId,
metadataProfileId,
authorType,
tags,
searchForMissingBooks = false
} = payload;
const addOptions = {
monitor,
searchForMissingBooks
};
author.addOptions = addOptions;
author.monitored = true;
author.qualityProfileId = qualityProfileId;
author.metadataProfileId = metadataProfileId;
author.rootFolderPath = rootFolderPath;
author.authorType = authorType;
author.tags = tags;
return author;
}
export default getNewAuthor;