Commit 431c8ff 1 parent 025fb71 commit 431c8ff Copy full SHA for 431c8ff
File tree 3 files changed +8
-5
lines changed
DSL/Ruuter.private/DSL/POST/csa
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 4
4
.DS_Store
5
5
/loba
6
6
node_modules
7
+ ** /package-lock.json
Original file line number Diff line number Diff line change 1
1
extractRequestData :
2
2
assign :
3
- messageId : ${incoming.body.id}
3
+ id : ${incoming.body.id}
4
4
event : ${incoming.body.event}
5
5
authorTimestamp : ${incoming.body.authorTimestamp}
6
6
@@ -9,7 +9,7 @@ getMessageById:
9
9
args :
10
10
url : " [#CHATBOT_RESQL]/get-message-by-id"
11
11
body :
12
- id : ${messageId }
12
+ id : ${id }
13
13
result : res
14
14
next : assignMessage
15
15
@@ -23,7 +23,7 @@ insertMessage:
23
23
args :
24
24
url : " [#CHATBOT_RESQL]/insert-message"
25
25
body :
26
- messageId : ${messageId }
26
+ messageId : ${id }
27
27
chatId : ${message.chatBaseId}
28
28
authorId : ${message.authorId ?? ""}
29
29
authorTimestamp : ${authorTimestamp}
Original file line number Diff line number Diff line change @@ -265,7 +265,7 @@ const Chat: FC<ChatProps> = ({
265
265
266
266
const postEventMutation = useMutation ( {
267
267
mutationFn : ( message : Message ) =>
268
- apiDev . post ( 'csa/message-event ' , {
268
+ apiDev . post ( 'csa/message' , {
269
269
chatId : message . chatId ?? '' ,
270
270
content : '' ,
271
271
event : message . event ?? '' ,
@@ -724,7 +724,9 @@ const Chat: FC<ChatProps> = ({
724
724
< Button
725
725
appearance = "secondary"
726
726
disabled = { chat . customerSupportId != userInfo ?. idCode }
727
- onClick = { ( ) => handleChatEvent ( CHAT_EVENTS . REQUESTED_AUTHENTICATION ) }
727
+ onClick = { ( ) =>
728
+ handleChatEvent ( CHAT_EVENTS . REQUESTED_AUTHENTICATION )
729
+ }
728
730
>
729
731
{ t ( 'chat.active.askAuthentication' ) }
730
732
</ Button >
You can’t perform that action at this time.
0 commit comments