From 054f8f2d874cde8ada532e817024c7f29070618b Mon Sep 17 00:00:00 2001 From: Henry Huang Date: Thu, 28 Feb 2019 16:59:10 -0600 Subject: [PATCH] [FIX] ActionRequest JSON decoder --- SKServer/Sources/Model/MessageActionRequest.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SKServer/Sources/Model/MessageActionRequest.swift b/SKServer/Sources/Model/MessageActionRequest.swift index 8444878..c15a19c 100755 --- a/SKServer/Sources/Model/MessageActionRequest.swift +++ b/SKServer/Sources/Model/MessageActionRequest.swift @@ -43,7 +43,7 @@ public struct MessageActionRequest { callbackID = response?["callback_id"] as? String team = Team(team: response?["team"] as? [String: Any]) channel = Channel(channel: response?["channel"] as? [String: Any]) - user = User(user: response?["channel"] as? [String: Any]) + user = User(user: response?["user"] as? [String: Any]) actionTS = response?["action_ts"] as? String messageTS = response?["message_ts"] as? String attachmentID = response?["attachment_id"] as? String