0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed ESLint warnings

This commit is contained in:
Fabien "egg" O'Carroll 2022-05-09 17:13:07 +01:00
parent aed7ef0cae
commit 6d48846f15
2 changed files with 2 additions and 0 deletions

View file

@ -66,6 +66,7 @@ module.exports = createTransactionalMigration(
});
}
// eslint-disable-next-line no-restricted-syntax
offerRedemptions.forEach((redemption) => {
const memberEvents = mrrCreatedEventsByMemberId[redemption.member_id];

View file

@ -5,6 +5,7 @@ const {createTransactionalMigration} = require('../../utils');
module.exports = createTransactionalMigration(
async function up(knex) {
// eslint-disable-next-line no-restricted-syntax
const canceledSubscriptions = await knex('members_stripe_customers_subscriptions')
.select(
'members_stripe_customers_subscriptions.id',