debug msg
This commit is contained in:
parent
cf674f7cc6
commit
abd7873ec7
|
@ -80,8 +80,8 @@ export async function getGoals(pledgeSum: number): Promise<IGoals | null> {
|
||||||
const funded = filterAndSortGoals(openData.concat(closedData), true);
|
const funded = filterAndSortGoals(openData.concat(closedData), true);
|
||||||
const unfunded = filterAndSortGoals(openData.concat(closedData), false);
|
const unfunded = filterAndSortGoals(openData.concat(closedData), false);
|
||||||
|
|
||||||
console.log('the following are unfunded goals')
|
// console.log('the following are unfunded goals')
|
||||||
console.log(unfunded)
|
// console.log(unfunded)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
complete: closedData,
|
complete: closedData,
|
||||||
|
|
|
@ -120,7 +120,7 @@ export async function getAllVtubers(): Promise<IVtuber[] | null> {
|
||||||
});
|
});
|
||||||
|
|
||||||
try {
|
try {
|
||||||
console.log(`Getting /api/vtubers page=${currentPage}`);
|
console.log(`Getting ${strapiUrl}/api/vtubers page=${currentPage}`);
|
||||||
const response = await fetch(`${strapiUrl}/api/vtubers?${query}`, fetchVtubersOptions);
|
const response = await fetch(`${strapiUrl}/api/vtubers?${query}`, fetchVtubersOptions);
|
||||||
|
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
|
Loading…
Reference in New Issue