军团:捐献所等级第二天生效
This commit is contained in:
@@ -19,9 +19,9 @@ export async function getDonation(code: string, guild: GuildType) {
|
||||
return donation;
|
||||
}
|
||||
|
||||
export async function donate(code: string, fund: number, donateId: number, roleName: string, guild: GuildType) {
|
||||
export async function donate(code: string, fund: number, donateId: number, roleName: string, donateLv: number) {
|
||||
let refTime = getZeroPoint();
|
||||
let donation = await DonationModel.donate(code, refTime, fund, { id: donateId, roleName, time: refTime }, getDonateLv(guild));
|
||||
let donation = await DonationModel.donate(code, refTime, fund, { id: donateId, roleName, time: refTime, fund }, donateLv);
|
||||
return donation;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user