Ignore lint warning.

This commit is contained in:
Franco Montenegro 2022-09-12 19:17:35 -03:00 committed by zeppi
parent 8e5678af5b
commit 6d52763e19
2 changed files with 3 additions and 1 deletions

2
flow-typed/Lbry.js vendored
View file

@ -77,7 +77,7 @@ declare type ResolveResponse = {
// Keys are the url(s) passed to resolve // Keys are the url(s) passed to resolve
[string]: { [string]: {
error?: { error?: {
censor?: string, censor?: {},
text?: string, text?: string,
}, },
stream?: StreamClaim, stream?: StreamClaim,

View file

@ -90,7 +90,9 @@ export function doResolveUris(
resolveInfo[uri] = { resolveInfo[uri] = {
...fallbackResolveInfo, ...fallbackResolveInfo,
errorCensor: { errorCensor: {
// $FlowFixMe
...uriResolveInfo.error.censor, ...uriResolveInfo.error.censor,
// $FlowFixMe
text: uriResolveInfo.error.text, text: uriResolveInfo.error.text,
}, },
}; };