fix: lint

This commit is contained in:
Julian Lam
2024-05-14 12:14:39 -04:00
parent a005440088
commit f93b237ef1
2 changed files with 2 additions and 2 deletions

View File

@@ -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) {

View File

@@ -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',