Skip to content

Commit

Permalink
Make the data type more clear to the reader (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Feb 10, 2023
1 parent 7625ea9 commit f6683b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/blog/adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ As you can see, we’re taking in our NetworkModel and then returning and adapti

```swift
func getUserData() async throws -> DeviceModel {
let response = try await fetchUser()
let response: NetworkModel = try await fetchUser()
return try UserAdapter.device(from: response)
}
```
Expand Down

0 comments on commit f6683b6

Please sign in to comment.