Skip to content

Commit f70fae9

Browse files
author
SPO
authored
Merge pull request #6 from pulse-project/integration_kiosknotif
[kiosk] Rename action_notification to action_kiosknotification. This …
2 parents a72b7c4 + af33e81 commit f70fae9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

kiosk_interface/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def action_message_received_from_am(self, message="{}"):
126126
self.app.connected = True
127127
self.app.send_pong()
128128

129-
elif self.app.message["action"] == "action_notification":
129+
elif self.app.message["action"] == "action_kiosknotification":
130130
"""
131131
{
132-
"action": "action_notification",
132+
"action": "action_kiosknotification",
133133
"data":{
134134
"message": "my message"
135135
}

kiosk_interface/dev_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The Agent Machine can send a ping to the kiosk to know if it's present or not.
5454
The Agent Machine can send informative messages to the kiosk :
5555

5656
{
57-
"action": "action_notification",
57+
"action": "action_kiosknotification",
5858
"data":{
5959
"message": "my message"
6060
}

0 commit comments

Comments
 (0)