fix(core): update
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import * as plugins from './paypal.plugins';
|
||||
import { PayPal } from './paypal.classes.paypal';
|
||||
import { PayPalAccount } from './paypal.classes.paypal';
|
||||
|
||||
export interface IPayPalOriginTransactionApiObject {
|
||||
paypal_account_id: string;
|
||||
@ -26,7 +26,7 @@ export interface IPayPalTransactionOptions {
|
||||
|
||||
export class PayPalTransaction {
|
||||
public static async getTransactionFor30days(
|
||||
paypalInstanceArg: PayPal,
|
||||
paypalInstanceArg: PayPalAccount,
|
||||
startPointMillis: number = Date.now() - plugins.smarttime.units.days(30)
|
||||
) {
|
||||
const startDate = startPointMillis;
|
||||
|
Reference in New Issue
Block a user