Fix another warning

This commit is contained in:
Nathan Mattes 2023-11-05 21:34:55 +01:00
parent 32e656f342
commit 83e45847fe
1 changed files with 4 additions and 3 deletions

View File

@ -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
}