资金:修复
This commit is contained in:
@@ -35,7 +35,7 @@ export async function getDonation(code: string, guild: GuildType, serverId: numb
|
||||
* @param serverId
|
||||
*/
|
||||
export async function createDonation(code: string, guild: GuildType, serverId: number) {
|
||||
let { lv } = guild.structure.find(cur => cur.lv == GUILD_STRUCTURE.DONATE);
|
||||
let { lv } = guild.structure.find(cur => cur.id == GUILD_STRUCTURE.DONATE);
|
||||
let donation = await DonationModel.createDonation(code, lv);
|
||||
return donation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user