everything works with sending request and ccreating relationship

This commit is contained in:
talksik
2022-03-19 23:07:09 -04:00
parent 0faacbab73
commit 795a15cc0f
3 changed files with 4 additions and 10 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ async function addContact(req: Request, res: Response) {
insertResult
? res.status(200).send(newRelationship)
: res.status(500).send("Failed to create account, already exists");
: res.status(500).send("Failed to create relationship, already exists");
return;
} catch (error) {