🐳 Switched to the TS template with the correct docker-compose config

This commit is contained in:
2021-09-01 08:59:36 -07:00
parent 76722ab6a1
commit b71319f330
17 changed files with 3017 additions and 8359 deletions

View File

@@ -219,14 +219,12 @@ export default class ImportService extends Service {
},
},
methods: {
getComicVineVolumeMetadata: (apiDetailURL) => {
return new Promise((resolve, reject) => {
return https
getComicVineVolumeMetadata: apiDetailURL => new Promise((resolve, reject) => https
.get(
`${apiDetailURL}?api_key=a5fa0663683df8145a85d694b5da4b87e1c92c69&format=json&limit=1&offset=0&field_list=id,name,description,image,first_issue,last_issue,publisher,count_of_issues,character_credits,person_credits,aliases`,
(resp) => {
resp => {
let data = "";
resp.on("data", (chunk) => {
resp.on("data", chunk => {
data += chunk;
});
@@ -239,12 +237,10 @@ export default class ImportService extends Service {
});
}
)
.on("error", (err) => {
.on("error", err => {
console.log("Error: " + err.message);
reject(err);
});
});
},
})),
},
},
schema