Compare commits

..

5 Commits

4 changed files with 14 additions and 17 deletions

View File

@@ -23,7 +23,7 @@
"@fortawesome/fontawesome-free": "^6.3.0", "@fortawesome/fontawesome-free": "^6.3.0",
"@redux-devtools/extension": "^3.2.2", "@redux-devtools/extension": "^3.2.2",
"@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-node-resolve": "^15.0.1",
"@tanstack/react-table": "^8.8.0", "@tanstack/react-table": "^8.5.11",
"@types/axios": "^0.14.0", "@types/axios": "^0.14.0",
"@types/mime-types": "^2.1.0", "@types/mime-types": "^2.1.0",
"@types/react-router-dom": "^5.3.3", "@types/react-router-dom": "^5.3.3",

View File

@@ -55,7 +55,6 @@ export const comicinfoAPICall = (options) => async (dispatch) => {
type: CV_API_CALL_IN_PROGRESS, type: CV_API_CALL_IN_PROGRESS,
inProgress: true, inProgress: true,
}); });
console.log(options);
const serviceURI = `${COMICVINE_SERVICE_URI}/${options.callURIAction}`; const serviceURI = `${COMICVINE_SERVICE_URI}/${options.callURIAction}`;
const response = await http(serviceURI, { const response = await http(serviceURI, {
method: options.callMethod, method: options.callMethod,
@@ -65,11 +64,9 @@ export const comicinfoAPICall = (options) => async (dispatch) => {
"Content-Type": "application/json", "Content-Type": "application/json",
"Access-Control-Allow-Origin": "*", "Access-Control-Allow-Origin": "*",
}, },
paramsSerializer: { paramsSerializer: (params) => {
indexes: null, return qs.stringify(params, { arrayFormat: "repeat" });
}, },
// (params) =>
// qs.stringify(params, { arrayFormat: "repeat" }),
}); });
switch (options.callURIAction) { switch (options.callURIAction) {
@@ -84,7 +81,7 @@ export const comicinfoAPICall = (options) => async (dispatch) => {
console.log("Could not complete request."); console.log("Could not complete request.");
} }
} catch (error) { } catch (error) {
console.error(error); console.log(error);
dispatch({ dispatch({
type: CV_API_GENERIC_FAILURE, type: CV_API_GENERIC_FAILURE,
error, error,

View File

@@ -20,7 +20,7 @@ export const PullList = ({ issues }: PullListProps): ReactElement => {
useEffect(() => { useEffect(() => {
dispatch( dispatch(
getWeeklyPullList({ getWeeklyPullList({
startDate: "2023-3-25", startDate: "2023-1-25",
pageSize: "15", pageSize: "15",
currentPage: "1", currentPage: "1",
}), }),

View File

@@ -3294,17 +3294,17 @@
"@types/express" "^4.7.0" "@types/express" "^4.7.0"
file-system-cache "^2.0.0" file-system-cache "^2.0.0"
"@tanstack/react-table@^8.8.0": "@tanstack/react-table@^8.5.11":
version "8.8.0" version "8.5.11"
resolved "https://registry.yarnpkg.com/@tanstack/react-table/-/react-table-8.8.0.tgz#f20e1d5b2615bf785adfb727b89dcf55e72cdab8" resolved "https://registry.yarnpkg.com/@tanstack/react-table/-/react-table-8.5.11.tgz#544f551f15412087edfc2df01bed9697aab4651f"
integrity sha512-K55peZ4VNRA+Jk/rSI8+0Tj/T9q8SyysmnK08wO/5kgIX3MhGL7wl0858eEcvd/2eq+CPPmhQx9wYoWOWtFEhg== integrity sha512-bIegBJ3VPUX3Z7rMnFEnTRCRgPccTsciilQA1ib/pA6M7Qq1boTNPjNjSbEHmBKytaxPrPfcUfzkZLogYtvu3g==
dependencies: dependencies:
"@tanstack/table-core" "8.8.0" "@tanstack/table-core" "8.5.11"
"@tanstack/table-core@8.8.0": "@tanstack/table-core@8.5.11":
version "8.8.0" version "8.5.11"
resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.8.0.tgz#7b6db72ea82175495528313513d825e312cbe58b" resolved "https://registry.yarnpkg.com/@tanstack/table-core/-/table-core-8.5.11.tgz#a23178a097df4b0b64bdfa6f79e6d8933e97c7f7"
integrity sha512-P8Vk9yngfai1GLEfyqtT0b+Dty8subPR8yl5r1z/z4Z8NtaCIL1n+OmMV1QBU8WojeSSsWgr+o1CTxnaaOBoyQ== integrity sha512-ZN61ockLaIAiiPbZfMKT2S03nbWx28OHg/nAiDnNfmN4QmAMcdwVajPn2QQwnNVGAr4jS4nbhbYzCcjq8livXQ==
"@testing-library/dom@^8.3.0": "@testing-library/dom@^8.3.0":
version "8.20.0" version "8.20.0"