Skip to content

Node.js based forum software built for the modern web

fix: lint

Julian Lamf93b237ef103
diff --git a/public/src/client/account/header.js b/public/src/client/account/header.js
index 1d9884a8ca..9b34fa6fdc 100644
--- a/public/src/client/account/header.js
+++ b/public/src/client/account/header.js
@@ -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) {
diff --git a/src/upgrades/4.0.0/announces_zset.js b/src/upgrades/4.0.0/announces_zset.js
index 7a09ba5cf6..8330cc6dbd 100644
--- a/src/upgrades/4.0.0/announces_zset.js
+++ b/src/upgrades/4.0.0/announces_zset.js
@@ -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',