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,
|
||||
description,
|
||||
paymentId,
|
||||
expireDays = websiteConfig.credits.creditExpireDays.days,
|
||||
expireDays = websiteConfig.credits.creditExpireDays,
|
||||
}: {
|
||||
userId: string;
|
||||
amount: number;
|
||||
|
Loading…
Reference in New Issue
Block a user