Various Fix attempts
This commit is contained in:
parent
7f90fd1a80
commit
7c3ba29316
6 changed files with 25 additions and 5 deletions
|
@ -20,6 +20,7 @@ export async function GET() {
|
|||
if (rows?.length) {
|
||||
let empireCount: number = rows[0][1];
|
||||
|
||||
console.log("New Google Data loaded " + Intl.DateTimeFormat('en-UK', {hour: 'numeric', minute: 'numeric', hour12: false}).format(Date.now()));
|
||||
return NextResponse.json({ empireCount });
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -78,6 +78,7 @@ export async function GET() {
|
|||
}
|
||||
}
|
||||
|
||||
console.log("New Google Data loaded " + Intl.DateTimeFormat('en-UK', {hour: 'numeric', minute: 'numeric', hour12: false}).format(Date.now()));
|
||||
return NextResponse.json({ speciesArray });
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue