Skip to content

Commit

Permalink
Fixed 'try' must precede 'await' (ArtSabintsev#400)
Browse files Browse the repository at this point in the history
  • Loading branch information
SandroDahl committed Jun 26, 2022
1 parent 3d8c83c commit 3bd7b59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Siren.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private extension Siren {
/// Initiatives the version check request.
func performVersionCheck() async {
do {
let apiModel = await try apiManager.performVersionCheckRequest()
let apiModel = try await apiManager.performVersionCheckRequest()
DispatchQueue.main.async {
self.validate(apiModel: apiModel)
}
Expand Down

0 comments on commit 3bd7b59

Please sign in to comment.