fix: ignore flow linter promise allsettled
This commit is contained in:
parent
1b3fec0452
commit
a6e76bab31
1 changed files with 2 additions and 2 deletions
|
@ -536,7 +536,7 @@ export function doCommentModToggleBlock(channelUri: string, unblock: boolean = f
|
||||||
};
|
};
|
||||||
|
|
||||||
const commentAction = unblock ? Comments.moderation_unblock : Comments.moderation_block;
|
const commentAction = unblock ? Comments.moderation_unblock : Comments.moderation_block;
|
||||||
|
// $FlowFixMe
|
||||||
return Promise.allSettled(
|
return Promise.allSettled(
|
||||||
channelSignatures.map((signatureData) =>
|
channelSignatures.map((signatureData) =>
|
||||||
commentAction({
|
commentAction({
|
||||||
|
@ -600,7 +600,7 @@ export function doFetchModBlockedList() {
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// $FlowFixMe
|
||||||
return Promise.allSettled(
|
return Promise.allSettled(
|
||||||
channelSignatures.map((signatureData) =>
|
channelSignatures.map((signatureData) =>
|
||||||
Comments.moderation_block_list({
|
Comments.moderation_block_list({
|
||||||
|
|
Loading…
Reference in a new issue