Skip to content

Commit

Permalink
Update Response+Debug.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
damirstuhec authored Apr 23, 2018
1 parent 2b8aa26 commit 4d60b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ extension TestableProperty where TestableType: Response {
if let size = element.content.container.http.body.count {
print("\tSize: \(String(size))")
}
if let mediaType = element.content.container.http.mediaType {
if let mediaType = element.content.container.http.contentType {
print("\tMedia type: \(mediaType.description)")
}
if let stringContent = element.testable.contentString {
Expand Down

3 comments on commit 4d60b15

@fpillet
Copy link

@fpillet fpillet commented on 4d60b15 Jun 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please tag a new release with this fix ?

@rafiki270
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fpillet done :) ... we are using it pointing to master so forgot about tagging this after vapor got released :)

@fpillet
Copy link

@fpillet fpillet commented on 4d60b15 Jun 8, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Please sign in to comment.