Fix another warning
This commit is contained in:
parent
32e656f342
commit
83e45847fe
|
@ -49,11 +49,12 @@ private extension DataSourceFacade {
|
||||||
authenticationBox: provider.authContext.mastodonAuthenticationBox
|
authenticationBox: provider.authContext.mastodonAuthenticationBox
|
||||||
).value
|
).value
|
||||||
|
|
||||||
guard let content = value.content else {
|
if value.content != nil {
|
||||||
|
return value
|
||||||
|
} else {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return value
|
|
||||||
} catch {
|
} catch {
|
||||||
throw TranslationFailure.emptyOrInvalidResponse
|
throw TranslationFailure.emptyOrInvalidResponse
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue