feat: added location data to buildings.json and add endpoint to maps config #115
Labels
No labels
backend
beginner friendly
bug
chore
documentation
enhancement
frontend
needs-triage
no-stale
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
size/XS
stage/backlog
stage/done
stage/in progress
stage/in-progress
stage/ready
stale
wontfix
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/housing!115
Loading…
Reference in a new issue
No description provided.
Delete branch "rhsen-housing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
takes on #101
Currently as it is written the endpoint for the map is public and will return the API key. This is because it is used before we do sessionAuth route. So anyone can fetch it before any authentication. We want to move it after sessionAuth route:
.use(sessionAuth)in mapsRoute and make the requisite 401 error response@ -0,0 +18,4 @@() => {const apiKey = Deno.env.get("GOOGLE_MAPS_API_KEY");if (!apiKey || !mapId) {!mapIdWhy are we checking if mapId exists? This is a useless check considering we hard coded it as a const above...
mapId wasn't hardcoded at first, forgot to remove the check.
@rhsen please see the above comments as requested changes.
PS your changes were moved to a branch on the actual housing repo so you'll need to abandon the fork and work on this branch off main.
Kennel Deployments
Torn down at 2026-10-31 21:01:25 UTC.