🔧 Refactoring to test the 403 CV error
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user