Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Commit

Permalink
Fixes HTTP status codes not recorded when not 200. venmo#74
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard, Seth authored and olegdanu-newstore committed Sep 28, 2018
1 parent b9653c7 commit cbe1483
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 cbe1483

Please sign in to comment.