mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: lint
This commit is contained in:
@@ -132,7 +132,7 @@ define('forum/account/header', [
|
|||||||
}
|
}
|
||||||
|
|
||||||
function rescindAccountFlag() {
|
function rescindAccountFlag() {
|
||||||
const flagId = $(this).data('flag-id')
|
const flagId = $(this).data('flag-id');
|
||||||
require(['flags'], function (flags) {
|
require(['flags'], function (flags) {
|
||||||
bootbox.confirm('[[flags:modal-confirm-rescind]]', function (confirm) {
|
bootbox.confirm('[[flags:modal-confirm-rescind]]', function (confirm) {
|
||||||
if (!confirm) {
|
if (!confirm) {
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ module.exports = {
|
|||||||
const { progress } = this;
|
const { progress } = this;
|
||||||
const bulkOp = [];
|
const bulkOp = [];
|
||||||
|
|
||||||
await batch.processSortedSet('topics:tid', async (tids, next) => {
|
await batch.processSortedSet('topics:tid', async (tids) => {
|
||||||
await Promise.all(tids.map(async (tid) => {
|
await Promise.all(tids.map(async (tid) => {
|
||||||
const announces = await topics.events.find(tid, {
|
const announces = await topics.events.find(tid, {
|
||||||
type: 'announce',
|
type: 'announce',
|
||||||
|
|||||||
Reference in New Issue
Block a user