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,
|
description: find.description,
|
||||||
latitude: location.latitude,
|
latitude: location.latitude,
|
||||||
longitude: location.longitude,
|
longitude: location.longitude,
|
||||||
locationName: find.locationName,
|
locationName: location.locationName,
|
||||||
category: find.category,
|
category: find.category,
|
||||||
isPublic: find.isPublic,
|
isPublic: find.isPublic,
|
||||||
createdAt: find.createdAt,
|
createdAt: find.createdAt,
|
||||||
@@ -50,6 +50,7 @@ export const GET: RequestHandler = async ({ params, locals }) => {
|
|||||||
find.id,
|
find.id,
|
||||||
location.latitude,
|
location.latitude,
|
||||||
location.longitude,
|
location.longitude,
|
||||||
|
location.locationName,
|
||||||
user.username,
|
user.username,
|
||||||
user.profilePictureUrl
|
user.profilePictureUrl
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user