user can join

This commit is contained in:
metacryst
2026-01-13 11:22:37 -06:00
parent 604ba9f01c
commit 6efc5b6f97
8 changed files with 64 additions and 82 deletions

View File

@@ -79,8 +79,9 @@ class Server {
}
newUserSubmission = async (req, res) => {
const { network } = req.query;
try {
await db.members.add(req.body)
await db.members.add(req.body, network)
global.db.saveData()
return res.status(200).json({});
} catch(e) {