Skip to content

Commit

Permalink
Fix another warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zeitschlag committed Nov 9, 2023
1 parent e82653d commit 611d92d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Mastodon/Protocol/Provider/DataSourceFacade+Translate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@ private extension DataSourceFacade {
authenticationBox: provider.authContext.mastodonAuthenticationBox
).value

guard let content = value.content else {
if value.content != nil {
return value
} else {
return nil
}

return value

} catch {
throw TranslationFailure.emptyOrInvalidResponse
}
Expand Down

0 comments on commit 611d92d

Please sign in to comment.