fix: update default expireDays assignment in addCredits function
This commit is contained in:
parent
2e8f70dc76
commit
adb9b80572
@ -96,7 +96,7 @@ export async function addCredits({
|
|||||||
type,
|
type,
|
||||||
description,
|
description,
|
||||||
paymentId,
|
paymentId,
|
||||||
expireDays = websiteConfig.credits.creditExpireDays.days,
|
expireDays = websiteConfig.credits.creditExpireDays,
|
||||||
}: {
|
}: {
|
||||||
userId: string;
|
userId: string;
|
||||||
amount: number;
|
amount: number;
|
||||||
|
Loading…
Reference in New Issue
Block a user