🔧 Refactoring to test the 403 CV error

This commit is contained in:
2022-04-03 14:39:04 -07:00
parent a80418ca02
commit e6f43c8b6d

View File

@@ -290,10 +290,10 @@ export default class ComicVineService extends Service {
url: `https://comicvine.gamespot.com/api/search?api_key=${process.env.COMICVINE_API_KEY}`, url: `https://comicvine.gamespot.com/api/search?api_key=${process.env.COMICVINE_API_KEY}`,
method: "GET", method: "GET",
params, params,
headers: { // headers: {
"User-Agent": "ThreeTwo", // "User-Agent": "ThreeTwo",
"Accept": "application/json", // "Accept": "application/json",
}, // },
}); });
const { data } = response; const { data } = response;