aboutsummaryrefslogtreecommitdiffstats
path: root/routes/locations.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-06 15:16:17 -0700
committerAdam Soltys <[email protected]>2023-10-06 15:16:17 -0700
commit70ae78d4765e1fd6c1cc40f439631614fb0885f8 (patch)
tree7500994bb8b16b8ed840ad45296c9b399f064a79 /routes/locations.js
parentea0a0b9958ff55a7b501bfab499234764e55c797 (diff)
downloadcoinos-server-70ae78d4765e1fd6c1cc40f439631614fb0885f8.tar.gz
coinos-server-70ae78d4765e1fd6c1cc40f439631614fb0885f8.zip
handle pin deletion differently
Diffstat (limited to 'routes/locations.js')
-rw-r--r--routes/locations.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/locations.js b/routes/locations.js
index fb4487f7..0f71fde9 100644
--- a/routes/locations.js
+++ b/routes/locations.js
@@ -2,6 +2,7 @@ import { g } from "$lib/db";
export default {
async list(req, res) {
- res.send({ locations: await g("locations") });
+ let locations = await g("locations");
+ res.send({ locations });
}
};