Skip to content

Commit

Permalink
Update dev-test whatsapp api
Browse files Browse the repository at this point in the history
  • Loading branch information
dhakalaashish committed Feb 26, 2024
1 parent c4decf7 commit 372a0bc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions apps/server/src/pages/api/tests/whatsapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,22 +40,22 @@ export default async function testWhatsApp(req: NextApiRequest, res: NextApiResp
const notificationParameters_alert: NotificationParameters = {
message: "Fire detected inside Las Americas 7A",
subject: "FireAlert",
url: "https://firealert.plant-for-the-planet.org/alert/ed1cf199-6c3a-4406-bac0-eb5519391e2e",
url: "https://firealert.plant-for-the-planet.org/alert/6769f0f5-86cf-4cea-ba27-6e2dc4b58376",
id: "notificationId",
authenticationMessage: true,
otp: "12345",
siteName: 'Las Americas',
// authenticationMessage: true,
// otp: "12345",
siteName: 'PROBOSQUE 22',
alert:{
id: "ed1cf199-6c3a-4406-bac0-eb5519391e2e",
id: "6769f0f5-86cf-4cea-ba27-6e2dc4b58376",
type: 'fire',
confidence: 'high',
source: "TEST",
date: new Date(),
longitude: 80.45728,
latitude: 66.66537,
longitude: -100.12768,
latitude: 18.72452,
distance: 0,
siteId: "siteId1",
siteName: "SiteName",
siteId: "clikwjyg1004ymk0egij2a716",
siteName: "PROBOSQUE 22",
data: {},
}
};
Expand Down

0 comments on commit 372a0bc

Please sign in to comment.