Skip to content

Commit

Permalink
major: update humor data model
Browse files Browse the repository at this point in the history
  • Loading branch information
daoseng33 committed Oct 2, 2024
1 parent d2cce3f commit 99d4d48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"repositoryURL": "https://github.com/daoseng33/HumorDataModel.git",
"state": {
"branch": "main",
"revision": "697ccfd711a3d170ac0c7aa2753086b20e079efd",
"revision": "5231d5b94c3ad45063085af768d10bd4f0ede323",
"version": null
}
},
Expand Down
2 changes: 2 additions & 0 deletions Sources/HumorAPIService/Base/JSONDecoderExtension.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ extension JSONDecoder {
static let `default`: JSONDecoder = {
let decoder = JSONDecoder()
decoder.keyDecodingStrategy = .convertFromSnakeCase
decoder.dateDecodingStrategy = .iso8601

return decoder
}()
}

0 comments on commit 99d4d48

Please sign in to comment.