fix:location name table in [findid] api
This commit is contained in:
@@ -21,7 +21,7 @@ export const GET: RequestHandler = async ({ params, locals }) => {
|
||||
description: find.description,
|
||||
latitude: location.latitude,
|
||||
longitude: location.longitude,
|
||||
locationName: find.locationName,
|
||||
locationName: location.locationName,
|
||||
category: find.category,
|
||||
isPublic: find.isPublic,
|
||||
createdAt: find.createdAt,
|
||||
@@ -50,6 +50,7 @@ export const GET: RequestHandler = async ({ params, locals }) => {
|
||||
find.id,
|
||||
location.latitude,
|
||||
location.longitude,
|
||||
location.locationName,
|
||||
user.username,
|
||||
user.profilePictureUrl
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user