Toggle navigation
Toggle navigation
This project
Loading...
Sign in
윤동주
/
LINEBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최한솔
2019-12-04 23:53:56 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3d193d48047dd7d9946527bb9ad8c87ec0ca2161
3d193d48
1 parent
a613dd03
time value upgrade
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
dialogflowFulfillment/firebase/functions/index.js
dialogflowFulfillment/firebase/functions/index.js
View file @
3d193d4
...
...
@@ -36,8 +36,8 @@ exports.dialogflowFirebaseFulfillment = functions.https.onRequest((request, resp
const
min
=
agent
.
parameters
.
minutes
;
const
gothour
=
hour
.
length
>
0
;
const
gotmin
=
min
.
length
>
0
;
const
rehour
=
(
hour
)
+
3
;
const
remin
=
min
+
10
;
const
rehour
=
Number
(
hour
)
+
3
;
const
remin
=
Number
(
min
)
+
10
;
if
(
gothour
&&
gotmin
)
{
agent
.
add
(
`좋습니다. 당신의 취침시간은
${
hour
}
시
${
min
}
분 입니다.`
);
...
...
Please
register
or
login
to post a comment