feat(characters): use local character catalog
This commit is contained in:
@@ -65,6 +65,7 @@ export interface LaunchEzpayRedirectInput {
|
||||
subscriptionType: PendingPaymentSubscriptionType;
|
||||
tipCoffeeType?: PendingPaymentTipCoffeeType;
|
||||
returnTo?: PendingPaymentReturnTo;
|
||||
characterSlug?: string;
|
||||
onOpened?: () => void;
|
||||
onFailed: (errorMessage: string) => void;
|
||||
}
|
||||
@@ -75,6 +76,7 @@ export async function launchEzpayRedirect({
|
||||
subscriptionType,
|
||||
tipCoffeeType,
|
||||
returnTo,
|
||||
characterSlug,
|
||||
onOpened,
|
||||
onFailed,
|
||||
}: LaunchEzpayRedirectInput): Promise<void> {
|
||||
@@ -101,6 +103,7 @@ export async function launchEzpayRedirect({
|
||||
subscriptionType,
|
||||
...(tipCoffeeType ? { tipCoffeeType } : {}),
|
||||
...(returnTo ? { returnTo } : {}),
|
||||
...(characterSlug ? { characterSlug } : {}),
|
||||
});
|
||||
if (Result.isErr(saveResult)) {
|
||||
const errorMessage =
|
||||
|
||||
Reference in New Issue
Block a user