Test server
This commit is contained in:
@@ -38,7 +38,7 @@ export async function map_funCreatePin({ data }: { data: any }) {
|
||||
namePin: data.namePin,
|
||||
portofolioId: data?.portofolioId,
|
||||
authorId: authorId,
|
||||
imagesId: uploadImage.id,
|
||||
imagesMapId: uploadImage.id,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ export async function map_funEditMap({
|
||||
latitude: data.latitude,
|
||||
longitude: data.longitude,
|
||||
namePin: data.namePin,
|
||||
imagesId: uploadImage.id,
|
||||
imagesMapId: uploadImage.id,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export async function map_funGetOneById({ mapId }: { mapId: string }) {
|
||||
latitude: true,
|
||||
longitude: true,
|
||||
authorId: true,
|
||||
imagesId: true,
|
||||
imagesMapId: true,
|
||||
Portofolio: {
|
||||
select: {
|
||||
id: true,
|
||||
|
||||
@@ -16,7 +16,7 @@ export async function map_funGetOneByPortofolioId({
|
||||
namePin: true,
|
||||
latitude: true,
|
||||
longitude: true,
|
||||
imagesId: true,
|
||||
imagesMapId: true,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user