This commit is contained in:
Lucàs
2023-05-21 00:03:09 +02:00
2 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const post = async (req: any, res: any) => {
const message = await prisma.message.create({
data: {
text: `<!lon=${bar.geo_point_2d.lon},lat=${bar.geo_point_2d.lat},name=${bar.name}>`,
text: `<!lon=${bar.geo_point_2d.lon},lat=${bar.geo_point_2d.lat},name=${bar.name}!>`,
Chat: {
connect: {
id: chat.id,