apkipa 2 weeks ago
parent
commit
59545cfb54
1 changed files with 2 additions and 2 deletions
  1. 2 2
      msg/msg.go

+ 2 - 2
msg/msg.go

@@ -80,10 +80,10 @@ func (m *DeviceActionDoneMsg) MsgType() string {
 	return DeviceActionDoneMsgType
 }
 
-func MakeDeviceActionDoneMsg(deviceID, actionMsgID string, actionStartTime int64, status int, msg string) DeviceActionDoneMsg {
+func MakeDeviceActionDoneMsg(deviceID, actionType, actionMsgID string, actionStartTime int64, status int, msg string) DeviceActionDoneMsg {
 	return DeviceActionDoneMsg{
 		DeviceID:        deviceID,
-		ActionType:      actionMsgID,
+		ActionType:      actionType,
 		ActionMsgID:     actionMsgID,
 		ActionStartTime: actionStartTime,
 		Status:          status,