aboutsummaryrefslogtreecommitdiffstats
path: root/routes/locations.js
blob: e080a7b908e7fa17e92f7c44d77f1f6c5d60ab76 (plain) (blame)
1
2
3
4
5
6
7
import { g } from "$lib/db";

export default {
async list(req, res) {
  res.send({ locations: await g('locations') });
}
}