Skip to content

Commit f9f02d9

Browse files
committed
Fix npcs_locations get query typo
1 parent f544819 commit f9f02d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/db/connections.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ func (q *Queries) GetNpcConnectedAreas(
300300

301301
const getNpcConnectedLocationsQuery = `
302302
SELECT l.* FROM locations AS l
303-
INNER JOIN npcs_locations AS nl ON nl.locations_id = l.id
303+
INNER JOIN npcs_locations AS nl ON nl.location_id = l.id
304304
WHERE nl.npc_id = $1
305305
`
306306

0 commit comments

Comments
 (0)