Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
node_crisp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
web
node_crisp
Commits
c496995e
Commit
c496995e
authored
Sep 15, 2021
by
Gabriel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edita parametro para mostrar link a videoconsulta
parent
0c2b831f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ips_turnos_bajo_demanda.js
handlers/ips_turnos_bajo_demanda.js
+3
-1
No files found.
handlers/ips_turnos_bajo_demanda.js
View file @
c496995e
...
...
@@ -5,6 +5,7 @@ const is = require('../endpoints/is.js')
const
config
=
require
(
'config'
);
const
LINK_CONDICIONES_DE_USO
=
'https://www.integrandosalud.com/es-ar/ip-condiciones-de-uso/'
;
const
LINK_VIDEOSONSULTA_BASE
=
'https://www.integrandosalud.com/src-v2/public/videoconsulta?token='
;
const
ID_AGENDA_IPS
=
config
.
get
(
'idAgendaIPS'
);
const
ID_DOMINIO_IPS
=
config
.
get
(
'idDominioIPS'
);
...
...
@@ -152,7 +153,8 @@ module.exports =
else
{
//Turno reservado exitosamente
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`Hacé click sobre "Iniciar consulta" para iniciar tu consulta`
);
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`[Iniciar consulta](
${
turnoDemandaResp
.
link_vc
}
)`
);
const
turnoLink
=
`
${
LINK_VIDEOSONSULTA_BASE
}${
turnoDemandaResp
.
token_vc
}
`
await
crisp
.
sendTextMessage
(
website_id
,
session_id
,
`[Iniciar consulta](
${
turnoLink
}
)`
);
await
limpiarDatos
(
message
,
userData
,
website_id
,
session_id
);
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment