Create contacts API routes

Change-Id: I35a51776c794d23fed3661db9ace6d54842bf83a
diff --git a/server/src/routers/account-router.ts b/server/src/routers/account-router.ts
index 7344e85..18b1554 100644
--- a/server/src/routers/account-router.ts
+++ b/server/src/routers/account-router.ts
@@ -51,12 +51,12 @@
   });
 });
 
-accountRouter.post('/', (req, res) => {
+accountRouter.patch('/', (req, res) => {
   const accountId = res.locals.accountId;
   const currentAccountDetails = jamid.getAccountDetails(accountId);
   const newAccountDetails: AccountDetails = { ...currentAccountDetails, ...req.body };
   jamid.setAccountDetails(res.locals.accountId, newAccountDetails);
-  res.end();
+  res.sendStatus(HttpStatusCode.NoContent);
 });
 
 accountRouter.post('/send-account-message', (req: Request<ParamsDictionary, any, SendAccountTextMessageApi>, res) => {