Upgraded handling of duplicate member roles Close #56
This commit is contained in:
@@ -3,7 +3,6 @@ import pool from '../db';
|
||||
import { Role, RoleSummary } from '@app/shared/types/roles'
|
||||
|
||||
export async function assignUserGroup(userID: number, roleID: number) {
|
||||
|
||||
const sql = `INSERT INTO members_roles (member_id, role_id) VALUES (?, ?);`;
|
||||
const params = [userID, roleID];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user