File tree Expand file tree Collapse file tree
ghost/core/core/server/services/members/members-api/repositories Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ const crypto = require('crypto');
1111const hasActiveOffer = require ( '../utils/has-active-offer' ) ;
1212const StartAutomationsPollEvent = require ( '../../../automations/events/start-automations-poll-event' ) ;
1313const { MEMBER_WELCOME_EMAIL_SLUGS } = require ( '../../../member-welcome-emails/constants' ) ;
14+ /** @import {Knex} from 'knex' */
1415/** @import * as automationsApi from '../../../automations/automations-api' */
1516
1617const messages = {
@@ -1059,7 +1060,8 @@ module.exports = class MemberRepository {
10591060 * @param {Object } data.subscription
10601061 * @param {string | null } [data.offerId]
10611062 * @param {import('../../../member-attribution/attribution-builder').AttributionResource } [data.attribution]
1062- * @param {* } options
1063+ * @param {object } [options]
1064+ * @param {Knex.Transaction } [options.transacting]
10631065 * @returns
10641066 */
10651067 async linkSubscription ( data , options = { } ) {
You can’t perform that action at this time.
0 commit comments