🔧 403 CV debugging
This commit is contained in:
@@ -244,7 +244,11 @@ export default class ComicVineService extends Service {
|
|||||||
console.log(filterString);
|
console.log(filterString);
|
||||||
|
|
||||||
const issueMatches = await axios({
|
const issueMatches = await axios({
|
||||||
url: `${CV_BASE_URL}issues?api_key=${process.env.COMICVINE_API_KEY}`,
|
url:
|
||||||
|
CV_BASE_URL +
|
||||||
|
"issues" +
|
||||||
|
"?api_key=" +
|
||||||
|
process.env.COMICVINE_API_KEY,
|
||||||
params: {
|
params: {
|
||||||
resources: "issues",
|
resources: "issues",
|
||||||
limit: "100",
|
limit: "100",
|
||||||
@@ -298,7 +302,11 @@ export default class ComicVineService extends Service {
|
|||||||
fetchVolumesFromCV: async (params, output: any[] = []) => {
|
fetchVolumesFromCV: async (params, output: any[] = []) => {
|
||||||
let currentPage = parseInt(params.page, 10);
|
let currentPage = parseInt(params.page, 10);
|
||||||
const response = await axios.request({
|
const response = await axios.request({
|
||||||
url: `${CV_BASE_URL}search?api_key=${process.env.COMICVINE_API_KEY}`,
|
url:
|
||||||
|
CV_BASE_URL +
|
||||||
|
"search" +
|
||||||
|
"?api_key=" +
|
||||||
|
process.env.COMICVINE_API_KEY,
|
||||||
params,
|
params,
|
||||||
headers: {
|
headers: {
|
||||||
Accept: "application/json",
|
Accept: "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user