🏗️ Applying the refactor patc

This commit is contained in:
2022-12-21 21:49:12 -08:00
parent f854ff9cc6
commit ce6653b5d7
13 changed files with 170 additions and 106 deletions

View File

@@ -67,7 +67,10 @@ export const determineCoverFile = (data) => {
}
};
export const determineExternalMetadata = (metadataSource, source) => {
export const determineExternalMetadata = (
metadataSource: string,
source: any
) => {
switch (metadataSource) {
case "comicvine":
return {
@@ -87,4 +90,4 @@ export const determineExternalMetadata = (metadataSource, source) => {
default:
break;
}
};
};