mirror of
https://github.com/MrTalon63/NeoMap.git
synced 2026-01-10 19:39:16 +01:00
Revert Deno processing
This commit is contained in:
parent
cf635e6f7c
commit
aeda648869
2 changed files with 1 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -87,4 +87,4 @@ typings/
|
|||
# DynamoDB Local files
|
||||
.dynamodb/
|
||||
|
||||
*.sqlite
|
||||
*.sqlite*
|
||||
|
|
@ -72,8 +72,6 @@ app.post("/api/v1/geosubmit", async (c) => {
|
|||
|
||||
const hexInDb = db.prepare("SELECT * FROM hexes WHERE hex_id = ?").get(hex) as { hex_id: string; wifi: boolean; gsm: boolean; wcdma: boolean; lte: boolean; ble: boolean; last_update: number } | undefined;
|
||||
|
||||
if (hexInDb && hexInDb.last_update >= timestamp && hexInDb.wifi === hasWifi && hexInDb.gsm === hasGsm && hexInDb.wcdma === hasWcdma && hexInDb.lte === hasLte && hexInDb.ble === hasBle) return;
|
||||
|
||||
if (hexInDb) {
|
||||
db.prepare(
|
||||
`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue