Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pvzig authored Jul 23, 2016
1 parent c428cac commit 2e71ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SlackKit/Sources/Response.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public struct Response {
var json = [String : AnyObject]()
json["text"] = text
json["response_type"] = responseType?.rawValue
json["attachments"] = attachments?.flatMap({$0.dictionary()})
json["attachments"] = attachments?.map({$0.dictionary()})
return json
}

Expand Down

0 comments on commit 2e71ac6

Please sign in to comment.