chore: update action and trigger names
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import defineTrigger from "../../../../helpers/define-trigger";
|
||||
import getBalanceTransactions from "./get-balance-transactions";
|
||||
import defineTrigger from '../../../../helpers/define-trigger';
|
||||
import getBalanceTransactions from './get-balance-transactions';
|
||||
|
||||
export default defineTrigger({
|
||||
name: 'New Balance Transactions',
|
||||
name: 'New balance transactions',
|
||||
key: 'newBalanceTransactions',
|
||||
description: 'Triggers when a new transaction is processed (refund, payout, adjustment, ...)',
|
||||
description:
|
||||
'Triggers when a new transaction is processed (refund, payout, adjustment, ...)',
|
||||
pollInterval: 15,
|
||||
async run($) {
|
||||
await getBalanceTransactions($)
|
||||
}
|
||||
})
|
||||
await getBalanceTransactions($);
|
||||
},
|
||||
});
|
||||
|
@@ -1,12 +1,13 @@
|
||||
import defineTrigger from "../../../../helpers/define-trigger";
|
||||
import getPayouts from "./get-payouts";
|
||||
import defineTrigger from '../../../../helpers/define-trigger';
|
||||
import getPayouts from './get-payouts';
|
||||
|
||||
export default defineTrigger({
|
||||
name: 'New Payouts',
|
||||
name: 'New payouts',
|
||||
key: 'newPayouts',
|
||||
description: 'Triggers when a payout (Stripe <-> Bank account) has been updated',
|
||||
description:
|
||||
'Triggers when a payout (Stripe <-> Bank account) has been updated',
|
||||
pollInterval: 15,
|
||||
async run($) {
|
||||
await getPayouts($)
|
||||
}
|
||||
})
|
||||
await getPayouts($);
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user