Fix another warning
This commit is contained in:
parent
32e656f342
commit
83e45847fe
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue