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() {
const flagId = $(this).data('flag-id')
const flagId = $(this).data('flag-id');
require(['flags'], function (flags) {
bootbox.confirm('[[flags:modal-confirm-rescind]]', function (confirm) {
if (!confirm) {

View File

@@ -11,7 +11,7 @@ module.exports = {
const { progress } = this;
const bulkOp = [];
await batch.processSortedSet('topics:tid', async (tids, next) => {
await batch.processSortedSet('topics:tid', async (tids) => {
await Promise.all(tids.map(async (tid) => {
const announces = await topics.events.find(tid, {
type: 'announce',