Skip to content

Commit

Permalink
Merge pull request #28 from noppoMan/use-root-representation-properties
Browse files Browse the repository at this point in the history
use root representation.properties
  • Loading branch information
noppoMan authored May 18, 2017
2 parents 35a1d6c + fe1815e commit a8ec8fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Core/AWSClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ public struct AWSClient {
switch serviceProtocol {
case .json, .restjson:
if let cType = response.contentType, cType.subtype.contains("hal+json") {
var dictionary: [String: Any] = [:]
let representation = try Representation.from(json: data)
var dictionary = representation.properties
for rel in representation.rels {
guard let representations = try Representation.from(json: data).representations(for: rel) else {
continue
Expand Down

0 comments on commit a8ec8fe

Please sign in to comment.