oops 2
This commit is contained in:
4
db.ts
4
db.ts
@@ -173,8 +173,8 @@ export async function create_role_income(role: string, hours: number, income: nu
|
||||
});
|
||||
}
|
||||
|
||||
export async function edit_role_income(role_income: RoleIncome) {
|
||||
return await role_income.replaceOne({ role: role_income.role }, role_income);
|
||||
export async function edit_role_income(role_income_obj: RoleIncome) {
|
||||
return await role_income.replaceOne({ role: role_income_obj.role }, role_income_obj);
|
||||
}
|
||||
|
||||
export async function update_role_income_last_claim(role: string) {
|
||||
|
||||
Reference in New Issue
Block a user