1
0
mirror of synced 2025-10-29 10:29:18 +00:00

link between servers & groups, clean, bug fix

This commit is contained in:
Valentin PUCCETTI
2023-09-11 16:28:18 +02:00
parent a034396dbe
commit 221a4b24a0
19 changed files with 298 additions and 76 deletions

View File

@@ -2,8 +2,6 @@ const Member = require('../model/member.model')
const Group = require("../model/group.model");
const User = require("../model/user.model");
const regexp = /^\S*$/;
async function addMember(userId, groupName) {
Group.findOne({ where: { name: groupName} }).then((result) => {
if (result) {