Added mapbox integration
This commit is contained in:
@@ -208,7 +208,21 @@ export const createBirdTimelineEvent = async ({
|
||||
created_by_user_id,
|
||||
location_details
|
||||
)
|
||||
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, COALESCE($9::text, $6::text, $5::text), $10, COALESCE($11::date, CURRENT_DATE), $12, $13)
|
||||
VALUES (
|
||||
$1,
|
||||
$2,
|
||||
$3,
|
||||
$4,
|
||||
$5::varchar(160),
|
||||
$6::varchar(160),
|
||||
$7::varchar(320),
|
||||
$8::varchar(320),
|
||||
COALESCE($9::varchar(160), $6::varchar(160), $5::varchar(160)),
|
||||
$10,
|
||||
COALESCE($11::date, CURRENT_DATE),
|
||||
$12,
|
||||
$13
|
||||
)
|
||||
RETURNING id, bird_id, event_type, from_workspace_id, to_workspace_id, from_workspace_name, to_workspace_name, from_owner_email, to_owner_email, location_label, location_details, note, event_date::text, created_by_user_id, created_at`,
|
||||
[
|
||||
birdId,
|
||||
|
||||
Reference in New Issue
Block a user