Skip to content

Commit

Permalink
Merge pull request #75 from sethhoward/hotfix/status-codes-not-record…
Browse files Browse the repository at this point in the history
…ed-74

Fixes HTTP status codes not recorded when not 200. #74
  • Loading branch information
dmiluski committed Feb 14, 2018
2 parents e118e68 + 8e7e591 commit 242d694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DVR/Interaction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ extension Interaction {

var responseDictionary = self.response.dictionary

if let httpResponse = response as? HTTPURLResponse {
if let httpResponse = response as? Foundation.HTTPURLResponse {
responseDictionary["headers"] = httpResponse.allHeaderFields
responseDictionary["status"] = httpResponse.statusCode
}
Expand Down

0 comments on commit 242d694

Please sign in to comment.